This commit is contained in:
2022-03-02 14:11:47 +01:00
parent f4f488dad1
commit e9ffdb1f03
8 changed files with 192 additions and 175 deletions

View File

@@ -43,10 +43,10 @@ final class PhonenumberHelper implements PhoneNumberHelperInterface
private LoggerInterface $logger;
private Client $twilioClient;
private PhonenumberUtil $phoneNumberUtil;
private Client $twilioClient;
public function __construct(
CacheItemPoolInterface $cacheUserData,
ParameterBagInterface $parameterBag,
@@ -80,7 +80,7 @@ final class PhonenumberHelper implements PhoneNumberHelperInterface
/**
* @param string $phoneNumber A national phone number starting with +
* @return string
*
* @throws NumberParseException
*/
public function format(PhoneNumber $phoneNumber): string