Skip to content

Commit 5d8c209

Browse files
VincentLangletondrejmirtes
authored andcommitted
Fix typo
1 parent 91f490e commit 5d8c209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/TypeCombinator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ public static function intersect(Type ...$types): Type
11591159
}
11601160

11611161
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
1162+
// move subtractables with subtracts before those without to avoid losing them in the union logic
11631163
if ($a instanceof SubtractableType && $a->getSubtractedType() !== null) {
11641164
return -1;
11651165
}

0 commit comments

Comments
 (0)