@@ -541,7 +541,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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']; |