Skip to content

Commit

Permalink
Fix advanced example
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipxe13 committed Sep 4, 2018
1 parent f3053a5 commit e48fdd7
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 @@ -48,7 +48,7 @@ $schemas->create('http://example.org/schemas/x1', './local-schemas/x1.xsd');

// validateWithSchemas does not return boolean, it throws an exception
try {
$validator->validateWithSchemas($schemas));
$validator->validateWithSchemas($schemas);
} catch (\XmlSchemaValidator\SchemaValidatorException $ex) {
echo 'Found error: ' . $ex->getMessage();
}
Expand Down

0 comments on commit e48fdd7

Please sign in to comment.