chore: code cleanup

This commit is contained in:
Björn Fromme committed 2025-08-21 14:20:43 +02:00
1 parent c4e28818e0
commit e36009008c
273 files changed
+547 -531

No files matched your search

@@ -13,7 +13,7 @@ class EntityToIdentifierTransformer implements DataTransformerInterface
public function __construct(
private readonly EntityManagerInterface $entityManager,
private readonly string $class,
string $identifier = 'id'
string $identifier = 'id',
) {
if (false === in_array($identifier, ['id', 'uuid'])) {
throw new \InvalidArgumentException(sprintf('Identifier must be one of "id" or "uuid" got "%s"', $identifier));
@@ -30,4 +30,4 @@ class FeedbackToRatingsTransformer implements DataTransformerInterface
return $feedbackRatings;
}
}
}