apply PSR-12 rules

This commit is contained in:
Daniel Seifert 2022-07-18 23:59:49 +02:00
parent 95b95d1d8b
commit b22da1bd4a
Signed by: DanielS
GPG Key ID: 6A513E13AEE66170
6 changed files with 13 additions and 13 deletions

View File

@ -53,7 +53,7 @@ class Recipient extends StringValueObject
$phoneUtil = $this->getPhoneNumberUtil();
$phoneNumber = $phoneUtil->parse($number, strtoupper($iso2CountryCode));
$number = $phoneUtil->format( $phoneNumber, PhoneNumberFormat::E164 );
$number = $phoneUtil->format($phoneNumber, PhoneNumberFormat::E164);
if (false === $phoneUtil->isValidNumber($phoneNumber)) {
throw new RecipientException(ExceptionMessages::INVALID_RECIPIENT_PHONE);
@ -63,7 +63,7 @@ class Recipient extends StringValueObject
$this->allowedNumberTypes
)
) {
throw new RecipientException( ExceptionMessages::NOT_A_MOBILE_NUMBER);
throw new RecipientException(ExceptionMessages::NOT_A_MOBILE_NUMBER);
}
parent::__construct($number);