diff --git a/extensions/apidoc/models/Context.php b/extensions/apidoc/models/Context.php index 5a9e57f33e..168bc01973 100644 --- a/extensions/apidoc/models/Context.php +++ b/extensions/apidoc/models/Context.php @@ -162,6 +162,9 @@ class Context extends Component return; } foreach($class->getPublicMethods() as $name => $method) { + if ($method->isStatic) { + continue; + } if (!strncmp($name, 'get', 3) && $this->paramsOptional($method)) { $propertyName = '$' . lcfirst(substr($method->name, 3)); if (isset($class->properties[$propertyName])) {