Passed
Push — master ( 4968cf...f6fde9 )
by Petr
10:05 queued 07:53
created
php-src/Bans/Factory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -94,12 +94,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
php-src/Bans/AIP.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     {
27 27
         $this->setIKbLang($lang);
28 28
         $this->setBasicIp(new Ip());
29
-        $this->knownIps = array_map(function ($row) {
29
+        $this->knownIps = array_map(function($row) {
30 30
             return $this->expandIP($row);
31 31
         }, $source->getRecords());
32 32
     }
Please login to merge, or discard this patch.