Skip to content

Commit 95d2d5d

Browse files
stofnicolas-grekas
authored andcommitted
[Validator] Add the type for ConstraintValidatorTestCase::createValidator
1 parent 347c8df commit 95d2d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Validator/Constraints/UniqueEntityValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ protected function createEntityManagerMock($repositoryMock)
131131
return $em;
132132
}
133133

134-
protected function createValidator()
134+
protected function createValidator(): UniqueEntityValidator
135135
{
136136
return new UniqueEntityValidator($this->registry);
137137
}

0 commit comments

Comments
 (0)