You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/MobiWeb/Rest/OTP.php
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ class OTP {
13
13
constVALIDATE_ENDPOINT = "/otp/v3/validate/";
14
14
constOTP_METHOD = "POST";
15
15
16
-
publicstaticfunctiongenerate(Auth$auth = null, string$mobile, string$sender = "SECUREPIN", string$message = "Please do not share your password pin. Your password pin is: [PIN]", int$validity = 600){
16
+
publicstaticfunctiongenerate(Auth$auth = null, string$mobile, string$sender = "SECUREPIN", string$message = "Please do not share your password pin. Your password pin is: [PIN]", int$validity = 600): array{
17
17
18
18
if (!$auth) {
19
19
thrownew \Exception("Cannot generate OTP without authentication");
@@ -22,7 +22,6 @@ public static function generate(Auth $auth = null, string $mobile, string $sende
0 commit comments