mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
allow phonumber helper to format null value
This commit is contained in:
@@ -22,7 +22,7 @@ use libphonenumber\PhoneNumber;
|
||||
*/
|
||||
interface PhoneNumberHelperInterface
|
||||
{
|
||||
public function format(PhoneNumber $phoneNumber): string;
|
||||
public function format(?PhoneNumber $phoneNumber = null): string;
|
||||
|
||||
/**
|
||||
* Get type (mobile, landline, ...) for phone number.
|
||||
|
Reference in New Issue
Block a user