File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 591
591
<InvalidArgument >
592
592
<code >$type</code >
593
593
</InvalidArgument >
594
- <RedundantCondition >
595
- <code ><![CDATA[ $atomicType !== 'null']]> </code >
596
- <code ><![CDATA[ $atomicType->type !== 'mixed' && $atomicType !== 'null']]> </code >
597
- </RedundantCondition >
598
594
<RedundantConditionGivenDocblockType >
599
595
<code >$type instanceof ReflectionNamedType</code >
600
596
</RedundantConditionGivenDocblockType >
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public static function fromReflectionType(
69
69
70
70
return new self (
71
71
$ atomicType ,
72
- $ atomicType ->type !== 'mixed ' && $ atomicType !== 'null ' && $ type ->allowsNull ()
72
+ $ atomicType ->type !== 'mixed ' && $ atomicType-> type !== 'null ' && $ type ->allowsNull ()
73
73
);
74
74
}
75
75
You can’t perform that action at this time.
0 commit comments