Skip to content

Commit

Permalink
Fix quality checks
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jul 23, 2024
1 parent 71560b3 commit f834235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAML2/Assert/CustomAssertionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private static function validDateTime(string $value, string $message = ''): void
try {
BaseAssert::validDateTime($value, '\'%s\' is not a valid xs:dateTime');
} catch (AssertionFailedException $e) {
throw new SchemaValidationException(sprintf(
throw new SchemaViolationException(sprintf(
$e->getMessage(),
$value,
));
Expand Down

0 comments on commit f834235

Please sign in to comment.