@@ -135,7 +135,7 @@ |
||
135 | 135 | public function isDangerous(string $url): bool |
136 | 136 | { |
137 | 137 | $data = json_decode((string) $this->results); |
138 | - $matches = empty($data->response['matches']) ? null : $data->response['matches']; |
|
138 | + $matches = empty($data->response[ 'matches' ]) ? null : $data->response[ 'matches' ]; |
|
139 | 139 | if (empty($matches)) { |
140 | 140 | return false; |
141 | 141 | } |