Passed
Push — master ( 129ca0...ba9fe9 )
by
unknown
145:10 queued 141:57
created
src/Listeners/SendMobileVerificationNotification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Tokens/DatabaseTokenRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Http/Middleware/EnsureMobileIsVerified.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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.']);
Please login to merge, or discard this patch.
src/Notifications/Channels/VerificationChannel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.