fix getParamListFromDoc() for api doc
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -315,7 +315,7 @@ class Froxlor extends \Froxlor\Api\ApiCommand
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
// set the module
|
// set the module
|
||||||
$cls = new \ReflectionMethod($module, $function);
|
$cls = new \ReflectionMethod(__NAMESPACE__ . '\\' . $module, $function);
|
||||||
$comment = $cls->getDocComment();
|
$comment = $cls->getDocComment();
|
||||||
if ($comment == false) {
|
if ($comment == false) {
|
||||||
return array(
|
return array(
|
||||||
|
|||||||
Reference in New Issue
Block a user