@@ -37,7 +37,7 @@ |
||
37 | 37 | { |
38 | 38 | $user = $event->user; |
39 | 39 | |
40 | - if ($user instanceof MustVerifyMobile && ! $user->hasVerifiedMobile()) { |
|
40 | + if ($user instanceof MustVerifyMobile && !$user->hasVerifiedMobile()) { |
|
41 | 41 | $this->tokenBroker->sendToken($user); |
42 | 42 | } |
43 | 43 | } |
@@ -101,7 +101,7 @@ |
||
101 | 101 | ->where('token', $token) |
102 | 102 | ->first(); |
103 | 103 | |
104 | - return $record && ! $this->tokenExpired($record['expires_at']); |
|
104 | + return $record && !$this->tokenExpired($record['expires_at']); |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | $user = auth()->user(); |
22 | 22 | |
23 | - if (! $user || ($user instanceof MustVerifyMobile && ! $user->hasVerifiedMobile())) { |
|
23 | + if (!$user || ($user instanceof MustVerifyMobile && !$user->hasVerifiedMobile())) { |
|
24 | 24 | return $request->expectsJson() |
25 | 25 | ? abort(403, 'Your mobile number is not verified.') |
26 | 26 | : redirect('/')->withErrors(['mobile' => 'Your mobile number is not verified.']); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | */ |
36 | 36 | public function send($notifiable, Notification $notification) |
37 | 37 | { |
38 | - if (! $notifiable->routeNotificationFor('verification_mobile', $notification)) { |
|
38 | + if (!$notifiable->routeNotificationFor('verification_mobile', $notification)) { |
|
39 | 39 | return; |
40 | 40 | } |
41 | 41 |