update cs after php-cs-fixer upgrade

This commit is contained in:
2024-09-12 12:02:33 +02:00
parent 5d0b531820
commit f0f651edea
286 changed files with 374 additions and 374 deletions

View File

@@ -35,7 +35,7 @@ class IdToEntityDataTransformer implements DataTransformerInterface
public function __construct(
private readonly ObjectRepository $repository,
private readonly bool $multiple = false,
?callable $getId = null
?callable $getId = null,
) {
$this->getId = $getId ?? static fn (object $o) => $o->getId();
}