diff --git a/tests/Validation/ValidationValidatorTest.php b/tests/Validation/ValidationValidatorTest.php index f2090d4f62d7..96ed29f6295b 100755 --- a/tests/Validation/ValidationValidatorTest.php +++ b/tests/Validation/ValidationValidatorTest.php @@ -633,7 +633,7 @@ public function testCustomException() $v = new Validator($trans, ['name' => ''], ['name' => 'required']); - $exception = new class ($v) extends ValidationException {}; + $exception = new class($v) extends ValidationException {}; $v->setException($exception); try {