Skip to content

Commit

Permalink
Allow for symfony 7 (#26)
Browse files Browse the repository at this point in the history
* Allow for symfony 7

* Changes for symfony 7
  • Loading branch information
TNAJanssen committed Jan 19, 2024
1 parent a8099ef commit 6097dc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"require": {
"php": ">=7.2",
"ddeboer/vatin": "^2.0",
"symfony/http-kernel": "^4.0 || ^5.0 || ^6.0",
"symfony/dependency-injection": "^4.0 || ^5.0 || ^6.0",
"symfony/config": "^4.0 || ^5.0 || ^6.0",
"symfony/validator": "^4.0 || ^5.0 || ^6.0"
"symfony/http-kernel": "^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/config": "^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/validator": "^4.0 || ^5.0 || ^6.0 || ^7.0"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
Expand Down
2 changes: 1 addition & 1 deletion src/Validator/Constraints/Vatin.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function __construct(
parent::__construct($options ?? [], $groups, $payload);
}

public function validatedBy()
public function validatedBy(): string
{
return 'ddeboer_vatin.validator';
}
Expand Down

0 comments on commit 6097dc0

Please sign in to comment.