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 ee41412 commit 754ebf5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Form/DataTransformer/CurrencyToArrayTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

/**
* Transforms between a Currency and a string.
*
* @implements DataTransformerInterface<Currency, array>
*/
class CurrencyToArrayTransformer implements DataTransformerInterface
{
/**
* {@inheritdoc}
*
* @psalm-param TValue|null $value
*/
public function transform(mixed $value): ?array
{
Expand All @@ -35,8 +35,6 @@ public function transform(mixed $value): ?array

/**
* {@inheritdoc}
*
* @psalm-param TTransformedValue|null $value
*/
public function reverseTransform(mixed $value): ?Currency
{
Expand Down

0 comments on commit 754ebf5

Please sign in to comment.