Issue #2170415 by Xano: Fix docs for plugin discovery interface
parent
5219bbf16f
commit
7009167f9c
|
@ -19,7 +19,7 @@ interface DiscoveryInterface {
|
|||
* @param string $plugin_id
|
||||
* A plugin id.
|
||||
*
|
||||
* @return array|null
|
||||
* @return mixed
|
||||
* A plugin definition, or NULL if no definition was found for $plugin_id.
|
||||
*/
|
||||
public function getDefinition($plugin_id);
|
||||
|
@ -27,7 +27,7 @@ interface DiscoveryInterface {
|
|||
/**
|
||||
* Gets the definition of all plugins for this type.
|
||||
*
|
||||
* @return array
|
||||
* @return mixed[]
|
||||
* An array of plugin definitions (empty array if no definitions were
|
||||
* found).
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue