We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91f490e commit 5d8c209Copy full SHA for 5d8c209
src/Type/TypeCombinator.php
@@ -1159,7 +1159,7 @@ public static function intersect(Type ...$types): Type
1159
}
1160
1161
usort($types, static function (Type $a, Type $b): int {
1162
- // move subtractables with subtracts before those without to avoid loosing them in the union logic
+ // move subtractables with subtracts before those without to avoid losing them in the union logic
1163
if ($a instanceof SubtractableType && $a->getSubtractedType() !== null) {
1164
return -1;
1165
0 commit comments