@@ -55,21 +55,21 @@ |
||
55 | 55 | }) |
56 | 56 | ->attachment(function ($attachment) use ($item) { |
57 | 57 | $attachment->title($title = config('firewall.notifications.message.uri.title')) |
58 | - ->content($item['server']['REQUEST_URI']); |
|
58 | + ->content($item['server']['REQUEST_URI']); |
|
59 | 59 | }) |
60 | 60 | ->attachment(function ($attachment) use ($item) { |
61 | 61 | $attachment->title(config('firewall.notifications.message.user_agent.title')) |
62 | - ->content($item['userAgent']); |
|
62 | + ->content($item['userAgent']); |
|
63 | 63 | }) |
64 | 64 | ->attachment(function ($attachment) use ($item) { |
65 | 65 | $attachment->title(config('firewall.notifications.message.blacklisted.title')) |
66 | - ->content($item['isBlacklisted'] ? 'YES' : 'NO'); |
|
66 | + ->content($item['isBlacklisted'] ? 'YES' : 'NO'); |
|
67 | 67 | }); |
68 | 68 | |
69 | 69 | if ($item['geoIp']) { |
70 | 70 | $message->attachment(function ($attachment) use ($item) { |
71 | 71 | $attachment->title(config('firewall.notifications.message.geolocation.title')) |
72 | - ->fields($this->makeGeolocation($item)); |
|
72 | + ->fields($this->makeGeolocation($item)); |
|
73 | 73 | }); |
74 | 74 | } |
75 | 75 |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | config('firewall.notifications.from.icon_emoji') |
43 | 43 | ) |
44 | 44 | ->content($this->getMessage($item)) |
45 | - ->attachment(function ($attachment) use ($item) { |
|
45 | + ->attachment(function($attachment) use ($item) { |
|
46 | 46 | $attachment->title(config('firewall.notifications.message.request_count.title')) |
47 | 47 | ->content( |
48 | 48 | sprintf( |
@@ -53,21 +53,21 @@ discard block |
||
53 | 53 | ) |
54 | 54 | ); |
55 | 55 | }) |
56 | - ->attachment(function ($attachment) use ($item) { |
|
56 | + ->attachment(function($attachment) use ($item) { |
|
57 | 57 | $attachment->title($title = config('firewall.notifications.message.uri.title')) |
58 | 58 | ->content($item['server']['REQUEST_URI']); |
59 | 59 | }) |
60 | - ->attachment(function ($attachment) use ($item) { |
|
60 | + ->attachment(function($attachment) use ($item) { |
|
61 | 61 | $attachment->title(config('firewall.notifications.message.user_agent.title')) |
62 | 62 | ->content($item['userAgent']); |
63 | 63 | }) |
64 | - ->attachment(function ($attachment) use ($item) { |
|
64 | + ->attachment(function($attachment) use ($item) { |
|
65 | 65 | $attachment->title(config('firewall.notifications.message.blacklisted.title')) |
66 | 66 | ->content($item['isBlacklisted'] ? 'YES' : 'NO'); |
67 | 67 | }); |
68 | 68 | |
69 | 69 | if ($item['geoIp']) { |
70 | - $message->attachment(function ($attachment) use ($item) { |
|
70 | + $message->attachment(function($attachment) use ($item) { |
|
71 | 71 | $attachment->title(config('firewall.notifications.message.geolocation.title')) |
72 | 72 | ->fields($this->makeGeolocation($item)); |
73 | 73 | }); |