fix some psalm issues

This commit is contained in:
2022-03-02 16:39:24 +01:00
parent a7a933c7a7
commit 3756631595
3 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ class PhonenumberNormalizer implements NormalizerInterface, DenormalizerInterfac
/**
* @throws UnexpectedValueException
*/
public function denormalize($data, $class, $format = null, array $context = [])
public function denormalize($data, $type, $format = null, array $context = [])
{
try {
return $this->phoneNumberUtil->parse($data, $this->defaultCarrierCode);