@@ -70,8 +70,8 @@ discard block |
||
70 | 70 | // Open proxy, open relay, or Tor exit node. |
71 | 71 | ['openproxy' , '9', 'Open Proxy', true], |
72 | 72 | |
73 | - // Comment/forum spam, HTTP referer spam, or other CMS spam. |
|
74 | - ['webspam' , '10', 'Web Spam', true], |
|
73 | + // Comment/forum spam, HTTP referer spam, or other CMS spam. |
|
74 | + ['webspam' , '10', 'Web Spam', true], |
|
75 | 75 | |
76 | 76 | // Spam email content, infected attachments, and phishing emails. Note: Limit comments to only relevent |
77 | 77 | // information (instead of log dumps) and be sure to remove PII if you want to remain anonymous. |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | if ($cat[0] === $categoryName) { |
148 | 148 | return $cat; |
149 | 149 | } |
150 | - } |
|
150 | + } |
|
151 | 151 | |
152 | 152 | // not found |
153 | 153 | return false; |
@@ -164,9 +164,9 @@ discard block |
||
164 | 164 | public function getCategoryNameById(string $categoryId) |
165 | 165 | { |
166 | 166 | foreach ($this->aipdbApiCategories as $cat){ |
167 | - if ($cat[1] === $categoryId) { |
|
168 | - return $cat; |
|
169 | - } |
|
167 | + if ($cat[1] === $categoryId) { |
|
168 | + return $cat; |
|
169 | + } |
|
170 | 170 | } |
171 | 171 | |
172 | 172 | // not found |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | return $i; |
191 | 191 | } |
192 | 192 | $i++; |
193 | - } |
|
193 | + } |
|
194 | 194 | |
195 | 195 | // not found |
196 | 196 | return false; |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | */ |
93 | 93 | public function report(string $ip, string $categories, string $message): ApiResponse |
94 | 94 | { |
95 | - // ip must be set |
|
95 | + // ip must be set |
|
96 | 96 | if (empty($ip)){ |
97 | 97 | throw new \InvalidArgumentException('Ip was empty'); |
98 | 98 | } |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | |
232 | 232 | // option |
233 | 233 | if ($verbose){ |
234 | - $data['verbose'] = true; |
|
234 | + $data['verbose'] = true; |
|
235 | 235 | } |
236 | 236 | |
237 | 237 | return $this->apiRequest('check', $data, 'GET') ; |
@@ -403,7 +403,7 @@ discard block |
||
403 | 403 | * @access public |
404 | 404 | * @param string $message The original message |
405 | 405 | * |
406 | - * @return string |
|
406 | + * @return string |
|
407 | 407 | */ |
408 | 408 | public function cleanMessage(string $message): string |
409 | 409 | { |