You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: InvalidNullableReturnType - MoneyNormalizer.php:45:85 - The declared return type 'Money\Money' for MoneyNormalizer::denormalize is not nullable, but 'Money\Money|null' contains null (see https://psalm.dev/144)
public function denormalize($data, $type, $format = null, array $context = []): ?Money
ERROR: NullableReturnStatement - MoneyNormalizer.php:48:20 - The declared return type 'Money\Money' for MoneyNormalizer::denormalize is not nullable, but the function returns 'null' (see https://psalm.dev/139)
return null;
ERROR: NullableReturnStatement - MoneyNormalizer.php:52:20 - The declared return type 'Money\Money' for MoneyNormalizer::denormalize is not nullable, but the function returns 'null' (see https://psalm.dev/139)
return null;
Thanks
The text was updated successfully, but these errors were encountered:
Hi there,
The following:
will trigger:
Thanks
The text was updated successfully, but these errors were encountered: