We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b214cae + 938b5cd commit c38a860Copy full SHA for c38a860
src/Assert.php
@@ -40,7 +40,7 @@ public static function assertJsonMatchesSchema($schema, $content)
40
// Assume references are relative to the current file
41
// Create an issue or pull request if you need more complex use cases
42
$refResolver = new RefResolver(new UriRetriever(), new UriResolver());
43
- $schemaObj = $refResolver->resolve('file://' . realpath($schema));
+ $schemaObj = $refResolver->resolve('file://'.realpath($schema));
44
45
$validator = new Validator();
46
$validator->check($content, $schemaObj);
0 commit comments