@@ -71,6 +71,7 @@ discard block |
||
71 | 71 | * Find all class properties recursively using class hierarchy without |
72 | 72 | * removing name redefinitions |
73 | 73 | * |
74 | + * @param ReflectionClass $class |
|
74 | 75 | * @return ReflectionProperty[] |
75 | 76 | */ |
76 | 77 | private function findAllInstanceProperties(?ReflectionClass $class = null) : array |
@@ -83,6 +84,10 @@ discard block |
||
83 | 84 | $this->findAllInstanceProperties($class->getParentClass() ?: null), // of course PHP is shit. |
84 | 85 | array_values(array_filter( |
85 | 86 | $class->getProperties(), |
87 | + |
|
88 | + /** |
|
89 | + * @param ReflectionClass $property |
|
90 | + */ |
|
86 | 91 | static function (ReflectionProperty $property) : bool { |
87 | 92 | return ! $property->isStatic(); |
88 | 93 | } |