Completed
Pull Request — master (#44)
by Timothy
04:51
created
src/Middleware/JsonSchema.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
80 80
             return $schema;
81 81
         }
82 82
 
83
-        return 'file://' . $schema;
83
+        return 'file://'.$schema;
84 84
     }
85 85
 
86 86
     /**
Please login to merge, or discard this patch.