diff --git a/Annotation/Loader.php b/Annotation/Loader.php index e19d4b85..67ed65d4 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -173,9 +173,10 @@ class Loader extends BaseObject $_array['methods'][$method->getName()] = $_method; } - $methods = $replace->getProperties(ReflectionMethod::IS_PUBLIC ^ ReflectionProperty::IS_STATIC); + $methods = $replace->getProperties(); foreach ($methods as $method) { $_property = []; + if ($method->isStatic()) continue; foreach ($method->getAttributes() as $attribute) { if (!class_exists($attribute->getName())) { continue;