@@ -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 | { |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | try { |
41 | 41 | $decoded = $this->bodyParser->json($request->getBody(), false); |
42 | 42 | } catch (\DomainException $e) { |
43 | - return $this->invalidateResponse($response, 'Malformed JSON: ' . $e->getMessage()); |
|
43 | + return $this->invalidateResponse($response, 'Malformed JSON: '.$e->getMessage()); |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | $validator = new Validator(); |
@@ -112,6 +112,6 @@ discard block |
||
112 | 112 | return $schema; |
113 | 113 | } |
114 | 114 | |
115 | - return 'file://' . $schema; |
|
115 | + return 'file://'.$schema; |
|
116 | 116 | } |
117 | 117 | } |