diff --git a/README.md b/README.md index 2b6d952..73b7d6e 100644 --- a/README.md +++ b/README.md @@ -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(); }