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 8590a1e commit 86bcb82Copy full SHA for 86bcb82
src/Type/ObjectType.php
@@ -1593,7 +1593,7 @@ public function tryRemove(Type $typeToRemove): ?Type
1593
unset($classes[$index]);
1594
1595
return TypeCombinator::union(
1596
- ...array_map(static fn(string $objectClass): Type => new ObjectType($objectClass), $classes),
+ ...array_map(static fn (string $objectClass): Type => new ObjectType($objectClass), $classes),
1597
);
1598
}
1599
0 commit comments