Skip to content

Commit 86bcb82

Browse files
Fix
1 parent 8590a1e commit 86bcb82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/ObjectType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@ public function tryRemove(Type $typeToRemove): ?Type
15931593
unset($classes[$index]);
15941594

15951595
return TypeCombinator::union(
1596-
...array_map(static fn(string $objectClass): Type => new ObjectType($objectClass), $classes),
1596+
...array_map(static fn (string $objectClass): Type => new ObjectType($objectClass), $classes),
15971597
);
15981598
}
15991599
}

0 commit comments

Comments
 (0)