Passed
Pull Request — master (#49)
by
unknown
14:09
created
src/Listeners/LogSuccessfulLogout.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,12 +37,12 @@
 block discarded – undo
37 37
     {
38 38
         if ($event->user) {
39 39
             $user = $event->user;
40
-            if(method_exists($user, 'authentications')){
40
+            if (method_exists($user, 'authentications')) {
41 41
                 $ip = $this->request->ip();
42 42
                 $userAgent = $this->request->userAgent();
43 43
                 $authenticationLog = $user->authentications()->whereIpAddress($ip)->whereUserAgent($userAgent)->first();
44 44
     
45
-                if (! $authenticationLog) {
45
+                if (!$authenticationLog) {
46 46
                     $authenticationLog = new AuthenticationLog([
47 47
                         'ip_address' => $ip,
48 48
                         'user_agent' => $userAgent,
Please login to merge, or discard this patch.