Improve TypeCombinator::unionWithSubtractedType #22177
Annotations
3 errors
PHPStan with result cache
Process completed with exit code 2.
|
PHPStan with result cache:
tests/PHPStan/Type/TypeCombinatorTest.php#L4148
You're passing a non-default value PHPStan\Type\ObjectWithoutClassType to parameter $subtractedType but previous argument is passing default value to its parameter ($isExplicitMixed). You can skip it and use named argument for $subtractedType instead.
|
|
Loading