Commit bad5a119 by Carsten Brandt

apidoc: static methods do not define properties

parent a7459c6a
......@@ -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])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment