Improve TypeCombinator::unionWithSubtractedType #22177
Annotations
3 errors
Generate baseline
Process completed with exit code 2.
|
Generate baseline:
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