Skip to content

Commit 41a5ec6

Browse files
committed
PhpClassReflectionExtension - do not check @property tags if the native property is static
1 parent c659f35 commit 41a5ec6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Reflection/Php/PhpClassReflectionExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ private function createProperty(
399399
if (
400400
$includingAnnotations
401401
&& !$declaringClassReflection->isEnum()
402+
&& !$propertyReflection->isStatic()
402403
&& ($classReflection->allowsDynamicProperties() || !$propertyReflection->isPrivate())
403404
&& $this->annotationsPropertiesClassReflectionExtension->hasProperty($classReflection, $propertyName)
404405
) {

0 commit comments

Comments
 (0)