Skip to content

Commit

Permalink
Merge pull request #7 from arneee/master
Browse files Browse the repository at this point in the history
Add void to VatNumberValidator::validate return type
  • Loading branch information
dannyvankooten authored Sep 3, 2023
2 parents 7087aa2 + 7b16b59 commit e70acaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validator/Constraints/VatNumberValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class VatNumberValidator extends ConstraintValidator
{
public function validate($value, Constraint $constraint)
public function validate($value, Constraint $constraint) : void
{
if (!$constraint instanceof VatNumber) {
throw new UnexpectedTypeException($constraint, VatNumber::class);
Expand Down

0 comments on commit e70acaf

Please sign in to comment.