@@ -37,12 +37,12 @@ |
||
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, |