File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -126,12 +126,10 @@ public function getUninitializedProperties(
126
126
}
127
127
$ originalProperties [$ property ->getName ()] = $ property ;
128
128
$ is = TrinaryLogic::createFromBoolean ($ property ->isPromoted () && !$ property ->isPromotedFromTrait ());
129
- if (!$ is ->yes ()) {
129
+ if (!$ is ->yes () && $ classReflection ->hasNativeProperty ($ property ->getName ())) {
130
+ $ propertyReflection = $ classReflection ->getNativeProperty ($ property ->getName ());
131
+
130
132
foreach ($ extensions as $ extension ) {
131
- if (!$ classReflection ->hasNativeProperty ($ property ->getName ())) {
132
- continue ;
133
- }
134
- $ propertyReflection = $ classReflection ->getNativeProperty ($ property ->getName ());
135
133
if (!$ extension ->isInitialized ($ propertyReflection , $ property ->getName ())) {
136
134
continue ;
137
135
}
You can’t perform that action at this time.
0 commit comments