@@ -94,12 +94,12 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | protected function emptyContent(Sources\ASources $sources): bool |
| 96 | 96 | { |
| 97 | - return empty( $sources->getRecords() ); |
|
| 97 | + return empty($sources->getRecords()); |
|
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | protected function containsIp4(Sources\ASources $sources): bool |
| 101 | 101 | { |
| 102 | - return empty( array_filter($sources->getRecords(), [$this, 'checkForNotIp4']) ); |
|
| 102 | + return empty(array_filter($sources->getRecords(), [$this, 'checkForNotIp4'])); |
|
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | public function checkForNotIp4(string $content): bool |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | |
| 110 | 110 | protected function containsIp6(Sources\ASources $sources): bool |
| 111 | 111 | { |
| 112 | - return empty( array_filter($sources->getRecords(), [$this, 'checkForNotIp6']) ); |
|
| 112 | + return empty(array_filter($sources->getRecords(), [$this, 'checkForNotIp6'])); |
|
| 113 | 113 | } |
| 114 | 114 | |
| 115 | 115 | public function checkForNotIp6(string $content): bool |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | |
| 120 | 120 | protected function containsNames(Sources\ASources $sources): bool |
| 121 | 121 | { |
| 122 | - return empty( array_filter($sources->getRecords(), [$this, 'checkForNames']) ); |
|
| 122 | + return empty(array_filter($sources->getRecords(), [$this, 'checkForNames'])); |
|
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | /** |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | { |
| 26 | 26 | $this->setLang($lang ?: new Translations()); |
| 27 | 27 | $this->setBasicIp(new Ip()); |
| 28 | - $this->knownIps = array_map(function ($row) { |
|
| 28 | + $this->knownIps = array_map(function($row) { |
|
| 29 | 29 | return $this->expandIP($row); |
| 30 | 30 | }, $source->getRecords()); |
| 31 | 31 | } |