Skip to content

Commit fcb1153

Browse files
Fix
1 parent 1f49308 commit fcb1153

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Reflection/ClassReflection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ public function hasInstanceProperty(string $propertyName): bool
506506
}
507507

508508
foreach ($this->propertiesClassReflectionExtensions as $i => $extension) {
509-
if ($i > 0 && !$this->allowsDynamicPropertiesExtensions()) {
509+
if ($i > 0 && !$this->allowsDynamicProperties()) {
510510
break;
511511
}
512512
if ($extension->hasProperty($this, $propertyName)) {
@@ -772,7 +772,7 @@ public function getInstanceProperty(string $propertyName, ClassMemberAccessAnswe
772772

773773
if (!isset($this->instanceProperties[$key])) {
774774
foreach ($this->propertiesClassReflectionExtensions as $i => $extension) {
775-
if ($i > 0 && !$this->allowsDynamicPropertiesExtensions()) {
775+
if ($i > 0 && !$this->allowsDynamicProperties()) {
776776
break;
777777
}
778778

0 commit comments

Comments
 (0)