Skip to content

Commit

Permalink
README.md: Fix minior code style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
reedy committed Sep 5, 2023
1 parent 9336297 commit 7d58d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ $schemaStorage = new SchemaStorage();
$schemaStorage->addSchema('file://mySchema', $jsonSchemaObject);

// Provide $schemaStorage to the Validator so that references can be resolved during validation
$jsonValidator = new Validator( new Factory($schemaStorage));
$jsonValidator = new Validator(new Factory($schemaStorage));

// JSON must be decoded before it can be validated
$jsonToValidateObject = json_decode('{"data":123}');
Expand Down

0 comments on commit 7d58d76

Please sign in to comment.