Skip to content

Commit

Permalink
Update src/Utopia/Messaging/Adapter.php
Browse files Browse the repository at this point in the history
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
  • Loading branch information
shimonewman and christyjacob4 authored May 8, 2024
1 parent 30ef328 commit 9ff260b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utopia/Messaging/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ protected function requestMulti(
public function getCountryCode(string $phone): ?int
{
if (empty($phone)) {
throw new Exception('No phone number was passed.');
throw new Exception('$phone cannot be empty.');
}

$helper = PhoneNumberUtil::getInstance();
Expand Down

0 comments on commit 9ff260b

Please sign in to comment.