We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | if ($fetchedData) { |
| 71 | 71 | $response->getBody()->write($fetchedData); |
| 72 | 72 | $response = $response->withHeader('Access-Control-Allow-Methods', 'GET'); |
| 73 | - $response = $response->withHeader('Access-Control-Allow-Origin', $request->getHeaderLine('Origin') ?: '*'); |
|
| 73 | + $response = $response->withHeader('Access-Control-Allow-Origin', $request->getHeaderLine('Origin') ? : '*'); |
|
| 74 | 74 | $response = $response->withHeader('Access-Control-Max-Age', 86400); |
| 75 | 75 | $response = $response->withHeader('Content-Type', finfo_buffer(finfo_open(FILEINFO_MIME), $fetchedData)); |
| 76 | 76 | } |