Skip to content

Fix psalm errors

Fix psalm errors #103

Triggered via pull request February 25, 2024 16:22
Status Failure
Total duration 56s
Artifacts

code_checks.yaml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
MissingTemplateParam: src/Form/DataTransformer/CurrencyToArrayTransformer.php#L17
src/Form/DataTransformer/CurrencyToArrayTransformer.php:17:45: MissingTemplateParam: Tbbc\MoneyBundle\Form\DataTransformer\CurrencyToArrayTransformer has missing template params when extending Symfony\Component\Form\DataTransformerInterface, expecting 2 (see https://psalm.dev/182)
MixedArgument: src/Form/DataTransformer/CurrencyToArrayTransformer.php#L52
src/Form/DataTransformer/CurrencyToArrayTransformer.php:52:33: MixedArgument: Argument 1 of Money\Currency::__construct cannot be mixed, expecting string (see https://psalm.dev/030)
MissingTemplateParam: src/Form/DataTransformer/MoneyToArrayTransformer.php#L17
src/Form/DataTransformer/MoneyToArrayTransformer.php:17:42: MissingTemplateParam: Tbbc\MoneyBundle\Form\DataTransformer\MoneyToArrayTransformer has missing template params when extending Symfony\Component\Form\DataTransformerInterface, expecting 2 (see https://psalm.dev/182)
psalm
Process completed with exit code 2.