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 8d1dead commit 84030b2Copy full SHA for 84030b2
src/Type/ObjectType.php
@@ -1565,7 +1565,7 @@ public function tryRemove(Type $typeToRemove): ?Type
1565
unset($classes[$index]);
1566
1567
return TypeCombinator::union(
1568
- ...array_map(static fn(string $objectClass): Type => new ObjectType($objectClass), $classes),
+ ...array_map(static fn (string $objectClass): Type => new ObjectType($objectClass), $classes),
1569
);
1570
}
1571
0 commit comments