Passed
Push — 2.x ( c5863b...a76a74 )
by Terry
02:44
created
src/Firewall/Firewall.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -541,7 +541,7 @@  discard block
 block discarded – undo
541 541
     protected function setIptablesWatchingFolder(): void
542 542
     {
543 543
         $iptablesSetting = $this->getOption('config', 'iptables');
544
-        $this->kernel->setProperty('iptables_watching_folder',  $iptablesSetting['watching_folder']);
544
+        $this->kernel->setProperty('iptables_watching_folder', $iptablesSetting['watching_folder']);
545 545
     }
546 546
 
547 547
     /**
@@ -582,7 +582,7 @@  discard block
 block discarded – undo
582 582
 
583 583
             $lastResetTime = $cronjobSetting['config']['last_update'];
584 584
 
585
-            if (!empty($lastResetTime) ) {
585
+            if (!empty($lastResetTime)) {
586 586
                 $lastResetTime = strtotime($lastResetTime);
587 587
             } else {
588 588
                 // @codeCoverageIgnoreStart
@@ -649,7 +649,7 @@  discard block
 block discarded – undo
649 649
         if (is_array($ipList)) {
650 650
             foreach ($ipList as $ip) {
651 651
 
652
-                if (0 === strpos($this->kernel->getCurrentUrl(), $ip['url']) ) {
652
+                if (0 === strpos($this->kernel->getCurrentUrl(), $ip['url'])) {
653 653
     
654 654
                     if ('allow' === $ip['rule']) {
655 655
                         $allowedList[] = $ip['ip'];
Please login to merge, or discard this patch.