fix typo in classname (Phonenumber => PhoneNumber)

This commit is contained in:
2023-12-12 17:12:01 +01:00
parent b64ac8fd20
commit e2a37fd80b

View File

@@ -18,7 +18,7 @@ use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\Criteria;
use Doctrine\Common\Collections\Selectable;
use Doctrine\ORM\Mapping as ORM;
use RuntimeException;
use libphonenumber\PhoneNumber;
use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Serializer\Annotation as Serializer;
@@ -428,7 +428,7 @@ class User implements UserInterface, \Stringable, PasswordAuthenticatedUserInter
}
}
public function getPhonenumber(): ?PhoneNumber
public function getPhonenumber(): PhoneNumber
{
return $this->phonenumber;
}