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 4c6ddc0 commit a88bb2e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Form/DataTransformer/SimpleMoneyToArrayTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

/**
* Transforms between a Money and an array.
*
* @implements DataTransformerInterface<Money, array>
*/
class SimpleMoneyToArrayTransformer extends MoneyToArrayTransformer
{
Expand All @@ -23,8 +21,6 @@ public function __construct(protected int $decimals)
/**
* {@inheritdoc}
*
* @psalm-param Money|null $value
*
* @psalm-return array{tbbc_amount: string}|null
*/
public function transform(mixed $value): ?array
Expand All @@ -40,8 +36,6 @@ public function transform(mixed $value): ?array

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

0 comments on commit a88bb2e

Please sign in to comment.