File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public function getUninitializedProperties(
135135 if (!$ is ->yes () && $ classReflection ->hasConstructor ()) {
136136 $ constructorDeclaringClass = $ classReflection ->getConstructor ()->getDeclaringClass ();
137137 if ($ constructorDeclaringClass ->getName () !== $ classReflection ->getName ()) {
138- $ is = $ this ->isPropertyInitializedByConstructorChain ($ constructorDeclaringClass , $ property ->getName ());
138+ $ is = $ this ->isPromotedByConstructorChain ($ constructorDeclaringClass , $ property ->getName ());
139139 }
140140 }
141141 if (!$ is ->yes () && $ classReflection ->hasNativeProperty ($ property ->getName ())) {
@@ -425,7 +425,7 @@ public function getPropertyAssigns(): array
425425 return $ this ->propertyAssigns ;
426426 }
427427
428- private function isPropertyInitializedByConstructorChain (ClassReflection $ constructorDeclaringClass , string $ propertyName ): TrinaryLogic
428+ private function isPromotedByConstructorChain (ClassReflection $ constructorDeclaringClass , string $ propertyName ): TrinaryLogic
429429 {
430430 $ ancestor = $ constructorDeclaringClass ;
431431 do {
You can’t perform that action at this time.
0 commit comments