improve code

This commit is contained in:
2023-12-12 11:43:46 +01:00
parent 0dbd956a68
commit d6a2373c31
5 changed files with 18 additions and 11 deletions

View File

@ -30,6 +30,6 @@ class d3TranslatableLazyAssertionException extends LazyAssertionException
$message .= sprintf( "%d) %s: %s\n", $i ++, $error->getPropertyPath(), $error->getMessage() );
}
return new static($message, $errors);
return new LazyAssertionException($message, $errors);
}
}