@@ -55,7 +55,7 @@ |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * @param ServerRequestInterface $request |
| 58 | - * @return string|bool |
|
| 58 | + * @return string|false |
|
| 59 | 59 | */ |
| 60 | 60 | private function getSchema(ServerRequestInterface $request) |
| 61 | 61 | { |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | $validator = new Validator(); |
| 36 | 36 | $decoded = $this->decodeBody($request); |
| 37 | 37 | if (json_last_error() !== JSON_ERROR_NONE) { |
| 38 | - return $response->withStatus(422, 'Malformed JSON: ' . json_last_error_msg()); |
|
| 38 | + return $response->withStatus(422, 'Malformed JSON: '.json_last_error_msg()); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | $validator->check($decoded, (object) [ |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | return $schema; |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | - return 'file://' . $schema; |
|
| 83 | + return 'file://'.$schema; |
|
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | /** |