adjust to current dependency packages and PHP >= 7.3

This commit is contained in:
2022-07-19 23:20:33 +02:00
committed by Daniel Seifert
parent b22da1bd4a
commit 7e43fa1537
27 changed files with 122 additions and 114 deletions

View File

@ -30,7 +30,7 @@ class Recipient extends StringValueObject
*/
protected $allowedNumberTypes = [
PhoneNumberType::MOBILE,
PhoneNumberType::FIXED_LINE_OR_MOBILE
PhoneNumberType::FIXED_LINE_OR_MOBILE,
];
/**
@ -86,7 +86,7 @@ class Recipient extends StringValueObject
return $this->countryCode;
}
public function getFormatted()
public function getFormatted(): string
{
return ltrim(parent::getFormatted(), '+');
}