Skip to content

Commit de2877a

Browse files
Do not use annotation for static properties
1 parent fcb1153 commit de2877a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Reflection/Php/PhpClassReflectionExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public function hasStaticProperty(ClassReflection $classReflection, string $prop
196196
public function getStaticProperty(ClassReflection $classReflection, string $propertyName): ExtendedPropertyReflection
197197
{
198198
if (!isset($this->staticPropertiesIncludingAnnotations[$classReflection->getCacheKey()][$propertyName])) {
199-
$this->staticPropertiesIncludingAnnotations[$classReflection->getCacheKey()][$propertyName] = $this->createProperty($classReflection, $propertyName, true);
199+
$this->staticPropertiesIncludingAnnotations[$classReflection->getCacheKey()][$propertyName] = $this->createProperty($classReflection, $propertyName, false);
200200
}
201201

202202
return $this->staticPropertiesIncludingAnnotations[$classReflection->getCacheKey()][$propertyName];

0 commit comments

Comments
 (0)