@@ -35,10 +35,10 @@ discard block |
||
| 35 | 35 | public function __construct() |
| 36 | 36 | { |
| 37 | 37 | // Initialise the list of urls as an empty array. |
| 38 | - $this->urls = []; |
|
| 38 | + $this->urls = [ ]; |
|
| 39 | 39 | |
| 40 | 40 | // Initialise the list of urls as an empty array. |
| 41 | - $this->results = []; |
|
| 41 | + $this->results = [ ]; |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | return false; |
| 148 | 148 | } |
| 149 | 149 | |
| 150 | - if(!empty($response->matches)) |
|
| 150 | + if (!empty($response->matches)) |
|
| 151 | 151 | { |
| 152 | 152 | foreach ($response->matches as $result) { |
| 153 | 153 | if ($result->threat->url == $url) { |