Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TranslationInfoOfConstraintViolation: add type hint for $key in remov…
…eCurlyBraces Else psalm fails with: ERROR: InvalidReturnType - src/Serializer/Normalizer/Error/TranslationInfoOfConstraintViolation.php:20:21 - The declared return type 'array<string, mixed>' for App\Serializer\Normalizer\Error\TranslationInfoOfConstraintViolation::removeCurlyBraces is incorrect, got 'array<array<array-key, string>|string, mixed>' (see https://psalm.dev/011) * @psalm-return array<string, mixed>
- Loading branch information