Release 2.12 (#4609)
This commit is contained in:
@@ -39,7 +39,7 @@ class DateTimeFormatValidatorTest extends ConstraintValidatorTestCase
|
||||
];
|
||||
}
|
||||
|
||||
public function testConstraintIsInvalid()
|
||||
public function testConstraintIsInvalid(): void
|
||||
{
|
||||
$this->expectException(UnexpectedTypeException::class);
|
||||
|
||||
@@ -50,7 +50,7 @@ class DateTimeFormatValidatorTest extends ConstraintValidatorTestCase
|
||||
* @dataProvider getValidData
|
||||
* @param string $input
|
||||
*/
|
||||
public function testConstraintWithValidData($input)
|
||||
public function testConstraintWithValidData($input): void
|
||||
{
|
||||
$constraint = new DateTimeFormat();
|
||||
$this->validator->validate($input, $constraint);
|
||||
@@ -72,7 +72,7 @@ class DateTimeFormatValidatorTest extends ConstraintValidatorTestCase
|
||||
* @dataProvider getInvalidData
|
||||
* @param mixed $input
|
||||
*/
|
||||
public function testValidationError($input)
|
||||
public function testValidationError($input): void
|
||||
{
|
||||
$constraint = new DateTimeFormat();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user