Skip to content
Snippets Groups Projects
Commit 7009167f authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #2170415 by Xano: Fix docs for plugin discovery interface

parent 5219bbf1
No related branches found
No related tags found
No related merge requests found
......@@ -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 @@ public function getDefinition($plugin_id);
/**
* 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).
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment