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 830055e commit f4bcbbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Form/DataTransformer/CurrencyToArrayTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class CurrencyToArrayTransformer implements DataTransformerInterface
/**
* {@inheritdoc}
*/
public function transform($value): ?array
public function transform(mixed $value): ?array
{
if (null === $value) {
return null;
Expand Down
2 changes: 1 addition & 1 deletion src/Form/DataTransformer/SimpleMoneyToArrayTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class SimpleMoneyToArrayTransformer extends MoneyToArrayTransformer
{
protected string $currency = '';

public function __construct(int $decimals)
public function __construct(protected int $decimals)
{
parent::__construct($decimals);
}
Expand Down

0 comments on commit f4bcbbf

Please sign in to comment.