Passed
Push — master ( 3c5c71...77c285 )
by Kris
02:07
created
lib/ApiBase.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -79,8 +79,8 @@  discard block
 block discarded – undo
79 79
         // Open proxy, open relay, or Tor exit node.
80 80
         ['openproxy'       , '9', 'Open Proxy', true],        
81 81
 
82
-         // Comment/forum spam, HTTP referer spam, or other CMS spam.
83
-         ['webspam'         , '10', 'Web Spam', true],        
82
+            // Comment/forum spam, HTTP referer spam, or other CMS spam.
83
+            ['webspam'         , '10', 'Web Spam', true],        
84 84
 
85 85
         // Spam email content, infected attachments, and phishing emails. Note: Limit comments to only relevent
86 86
         // information (instead of log dumps) and be sure to remove PII if you want to remain anonymous.
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
             if ($cat[0] === $categoryName) {
160 160
                 return $cat;
161 161
             }
162
-         }
162
+            }
163 163
 
164 164
         // not found
165 165
         return false;
@@ -177,9 +177,9 @@  discard block
 block discarded – undo
177 177
     public static function getCategoryNameById(string $categoryId)
178 178
     {
179 179
         foreach (self::$aipdbApiCategories as $cat){
180
-           if ($cat[1] === $categoryId) {
181
-               return $cat;
182
-           }
180
+            if ($cat[1] === $categoryId) {
181
+                return $cat;
182
+            }
183 183
         }
184 184
 
185 185
         // not found
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
                 return $i;
205 205
             }
206 206
             $i++;
207
-         }
207
+            }
208 208
 
209 209
         // not found
210 210
         return false;
Please login to merge, or discard this patch.