Ken 3 napja
szülő
commit
5586de296e
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      app/Services/SmsService.php

+ 2 - 1
app/Services/SmsService.php

@@ -19,9 +19,10 @@ class SmsService
 
     /**
      * @param $phone
+     * @return int
      * @throws Exception
      */
-    public static function sendPhoneCode($phone)
+    public static function sendPhoneCode($phone): int
     {
         $username = config('services.sms.username');
         $password = config('services.sms.password');