Skip to content

Commit

Permalink
Fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
mustanggb authored Feb 25, 2024
1 parent 25b0e5c commit cb20d9c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Form/DataTransformer/CurrencyToArrayTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cb20d9c

Please sign in to comment.