Passed
Branch master (b9cc1b)
by Antonio Carlos
02:40
created
src/Notifications/Channels/Slack.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,21 +51,21 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Repositories/Firewall/Firewall.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,11 +116,11 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.