diff --git a/src/Utopia/Messaging/Adapter.php b/src/Utopia/Messaging/Adapter.php index cb1e266..250fbf3 100644 --- a/src/Utopia/Messaging/Adapter.php +++ b/src/Utopia/Messaging/Adapter.php @@ -267,7 +267,7 @@ public function getCountryCode(string $phone): ?int $helper = PhoneNumberUtil::getInstance(); try { - return $helper + return $helper ->parse($phone) ->getCountryCode();