diff --git a/src/Form/DataTransformer/CurrencyToArrayTransformer.php b/src/Form/DataTransformer/CurrencyToArrayTransformer.php index a5481c71..01b806a8 100644 --- a/src/Form/DataTransformer/CurrencyToArrayTransformer.php +++ b/src/Form/DataTransformer/CurrencyToArrayTransformer.php @@ -46,10 +46,6 @@ public function reverseTransform(mixed $value): ?Currency return null; } - if (!is_array($value)) { - throw new UnexpectedTypeException($value, 'array'); - } - if (!isset($value['tbbc_name'])) { return null; }