@@ -51,21 +51,21 @@ |
||
| 51 | 51 | }) |
| 52 | 52 | ->attachment(function ($attachment) use ($item) { |
| 53 | 53 | $attachment->title($title = config('firewall.notifications.message.uri.title')) |
| 54 | - ->content($item['server']['REQUEST_URI']); |
|
| 54 | + ->content($item['server']['REQUEST_URI']); |
|
| 55 | 55 | }) |
| 56 | 56 | ->attachment(function ($attachment) use ($item) { |
| 57 | 57 | $attachment->title(config('firewall.notifications.message.user_agent.title')) |
| 58 | - ->content($item['userAgent']); |
|
| 58 | + ->content($item['userAgent']); |
|
| 59 | 59 | }) |
| 60 | 60 | ->attachment(function ($attachment) use ($item) { |
| 61 | 61 | $attachment->title(config('firewall.notifications.message.blacklisted.title')) |
| 62 | - ->content($item['isBlacklisted'] ? 'YES' : 'NO'); |
|
| 62 | + ->content($item['isBlacklisted'] ? 'YES' : 'NO'); |
|
| 63 | 63 | }); |
| 64 | 64 | |
| 65 | 65 | if ($item['geoIp']) { |
| 66 | 66 | $message->attachment(function ($attachment) use ($item) { |
| 67 | 67 | $attachment->title(config('firewall.notifications.message.geolocation.title')) |
| 68 | - ->fields($this->getGeolocation($item)); |
|
| 68 | + ->fields($this->getGeolocation($item)); |
|
| 69 | 69 | }); |
| 70 | 70 | } |
| 71 | 71 | |
@@ -116,11 +116,11 @@ |
||
| 116 | 116 | $class = new ReflectionClass(get_class($this->model)); |
| 117 | 117 | |
| 118 | 118 | $model = $class->newInstanceArgs([ |
| 119 | - [ |
|
| 120 | - 'ip_address' => $ip, |
|
| 121 | - 'whitelisted' => $whitelist, |
|
| 122 | - ], |
|
| 123 | - ]); |
|
| 119 | + [ |
|
| 120 | + 'ip_address' => $ip, |
|
| 121 | + 'whitelisted' => $whitelist, |
|
| 122 | + ], |
|
| 123 | + ]); |
|
| 124 | 124 | |
| 125 | 125 | return $model; |
| 126 | 126 | } |