From 3b7dba73b66bbe5362c1d0cf2c0ddfd1e64e8b41 Mon Sep 17 00:00:00 2001 From: Shimon Newman Date: Wed, 8 May 2024 20:06:07 +0300 Subject: [PATCH] Update src/Utopia/Messaging/Adapter.php Co-authored-by: Christy Jacob --- src/Utopia/Messaging/Adapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();