Passed
Push — 2.x ( 9f06f6...92ec38 )
by Terry
01:59
created
src/Firewall/Panel/Ajax.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      *
49 49
      * @return bool
50 50
      */
51
-    public function  __call($function , $args)
51
+    public function  __call($function, $args)
52 52
     {
53 53
         return false;
54 54
     }
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
 
286 286
             $messenger = new Messenger\Smtp($user, $pass, $host, (int) $port);
287 287
 
288
-            foreach($recipients as $recipient) {
288
+            foreach ($recipients as $recipient) {
289 289
                 if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) {
290 290
                     $messenger->addRecipient($recipient);
291 291
                 }
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
 
325 325
             $messenger = new Messenger\Mail();
326 326
 
327
-            foreach($recipients as $recipient) {
327
+            foreach ($recipients as $recipient) {
328 328
                 if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) {
329 329
                     $messenger->addRecipient($recipient);
330 330
                 }
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
 
365 365
             $messenger = new Messenger\Sendgrid($apiKey);
366 366
 
367
-            foreach($recipients as $recipient) {
367
+            foreach ($recipients as $recipient) {
368 368
                 if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) {
369 369
                     $messenger->addRecipient($recipient);
370 370
                 }
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
 
406 406
             $messenger = new Messenger\Mailgun($apiKey, $domain);
407 407
 
408
-            foreach($recipients as $recipient) {
408
+            foreach ($recipients as $recipient) {
409 409
                 if (filter_var($recipient, FILTER_VALIDATE_EMAIL)) {
410 410
                     $messenger->addRecipient($recipient);
411 411
                 }
Please login to merge, or discard this patch.
src/Firewall/Kernel.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
      * 
341 341
      * @return void
342 342
      */
343
-    public function __construct(?ServerRequestInterface $request  = null, ?ResponseInterface $response = null)
343
+    public function __construct(?ServerRequestInterface $request = null, ?ResponseInterface $response = null)
344 344
     {
345 345
         // Load helper functions. This is the must.
346 346
         new Helpers();
@@ -1648,10 +1648,10 @@  discard block
 block discarded – undo
1648 1648
 
1649 1649
         $ui = [
1650 1650
             'background_image' => $this->dialogUI['background_image'] ?? '',
1651
-            'bg_color'         => $this->dialogUI['bg_color']         ?? '#ffffff',
1652
-            'header_bg_color'  => $this->dialogUI['header_bg_color']  ?? '#212531',
1653
-            'header_color'     => $this->dialogUI['header_color']     ?? '#ffffff',
1654
-            'shadow_opacity'   => $this->dialogUI['shadow_opacity']   ?? '0.2',
1651
+            'bg_color'         => $this->dialogUI['bg_color'] ?? '#ffffff',
1652
+            'header_bg_color'  => $this->dialogUI['header_bg_color'] ?? '#212531',
1653
+            'header_color'     => $this->dialogUI['header_color'] ?? '#ffffff',
1654
+            'shadow_opacity'   => $this->dialogUI['shadow_opacity'] ?? '0.2',
1655 1655
         ];
1656 1656
 
1657 1657
         if (!defined('SHIELDON_VIEW')) {
Please login to merge, or discard this patch.