We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 408d961 commit 38eaf5bCopy full SHA for 38eaf5b
src/Aop/PropertyHandlerTrait.php
@@ -42,6 +42,9 @@ protected function __handlePropertyHandler(string $className)
42
$parentReflectionClass = $reflectionClass;
43
while ($parentReflectionClass = $parentReflectionClass->getParentClass()) {
44
$parentClassProperties = ReflectionManager::reflectPropertyNames($parentReflectionClass->getName());
45
+ $parentClassProperties = array_filter($parentClassProperties, static function($property) use ($reflectionClass){
46
+ return $reflectionClass->hasProperty($property);
47
+ });
48
$parentClassProperties = array_diff($parentClassProperties, $handled);
49
$handled = array_merge(
50
$handled,
0 commit comments