@@ -68,7 +68,7 @@ |
||
68 | 68 | * |
69 | 69 | * @param string $message Log message |
70 | 70 | * @param array $data Optional data |
71 | - * @param integer $severity Severity: 0 is info, 1 is notice, 2 is warning, 3 is fatal error, -1 is "OK" message |
|
71 | + * @param integer $severity Severity: 0 is info, 1 is notice, 2 is warning, 3 is fatal error, -1 is "OK" message |
|
72 | 72 | * @return void |
73 | 73 | */ |
74 | 74 | protected function log($message, array $data = [], $severity = 0) |
@@ -353,7 +353,7 @@ |
||
353 | 353 | { |
354 | 354 | $headers = [$this->getUserAgent(), 'Content-Type: application/octet-stream', 'Accept: application/json', 'Connection: close']; |
355 | 355 | |
356 | - $context = stream_context_create(['http' => ['protocol_version' => 1.1, 'method' => 'GET', 'header' => implode(CRLF, $headers),]]); |
|
356 | + $context = stream_context_create(['http' => ['protocol_version' => 1.1, 'method' => 'GET', 'header' => implode(CRLF, $headers), ]]); |
|
357 | 357 | |
358 | 358 | $response = $this->queryTika('/mime-types', $context); |
359 | 359 | return $response; |