File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5647,7 +5647,7 @@ static function (): void {
5647
5647
TypeCombinator::intersect ($ assignedExprType ->toCoercedArgumentType (true ), $ propertyNativeType ),
5648
5648
TypeCombinator::intersect ($ assignedNativeType ->toCoercedArgumentType (true ), $ propertyNativeType ),
5649
5649
);
5650
- } elseif (TypeCombinator:: containsNull ( $ propertyNativeType) && !TypeCombinator:: containsNull ( $ assignedNativeType )) {
5650
+ } elseif (! $ propertyNativeType-> isNull ()-> no () && $ assignedNativeType-> isNull ()-> no ( )) {
5651
5651
$ scope = $ scope ->assignExpression (
5652
5652
$ var ,
5653
5653
TypeCombinator::removeNull ($ propertyReflection ->hasPhpDocType () ? $ propertyReflection ->getPhpDocType () : $ propertyNativeType ),
@@ -5741,7 +5741,7 @@ static function (): void {
5741
5741
TypeCombinator::intersect ($ assignedExprType ->toCoercedArgumentType (true ), $ propertyNativeType ),
5742
5742
TypeCombinator::intersect ($ assignedNativeType ->toCoercedArgumentType (true ), $ propertyNativeType ),
5743
5743
);
5744
- } elseif (TypeCombinator:: containsNull ( $ propertyNativeType) && !TypeCombinator:: containsNull ( $ assignedNativeType )) {
5744
+ } elseif (! $ propertyNativeType-> isNull ()-> no () && $ assignedNativeType-> isNull ()-> no ( )) {
5745
5745
$ scope = $ scope ->assignExpression (
5746
5746
$ var ,
5747
5747
TypeCombinator::removeNull ($ propertyReflection ->hasPhpDocType () ? $ propertyReflection ->getPhpDocType () : $ propertyNativeType ),
You can’t perform that action at this time.
0 commit comments