Skip to content

Commit

Permalink
[Validator] Add the type for ConstraintValidatorTestCase::createValid…
Browse files Browse the repository at this point in the history
…ator
  • Loading branch information
stof authored and nicolas-grekas committed Nov 9, 2022
1 parent 347c8df commit 95d2d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Validator/Constraints/UniqueEntityValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ protected function createEntityManagerMock($repositoryMock)
return $em;
}

protected function createValidator()
protected function createValidator(): UniqueEntityValidator
{
return new UniqueEntityValidator($this->registry);
}
Expand Down

0 comments on commit 95d2d5d

Please sign in to comment.