We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b04bb5a commit f6cab89Copy full SHA for f6cab89
1 file changed
src/Node/ClassPropertiesNode.php
@@ -126,12 +126,10 @@ public function getUninitializedProperties(
126
}
127
$originalProperties[$property->getName()] = $property;
128
$is = TrinaryLogic::createFromBoolean($property->isPromoted() && !$property->isPromotedFromTrait());
129
- if (!$is->yes()) {
+ if (!$is->yes() && $classReflection->hasNativeProperty($property->getName())) {
130
+ $propertyReflection = $classReflection->getNativeProperty($property->getName());
131
+
132
foreach ($extensions as $extension) {
- if (!$classReflection->hasNativeProperty($property->getName())) {
- continue;
133
- }
134
- $propertyReflection = $classReflection->getNativeProperty($property->getName());
135
if (!$extension->isInitialized($propertyReflection, $property->getName())) {
136
continue;
137
0 commit comments