File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1919 "require" : {
2020 "php" : " >=7.4" ,
2121 "nette/di" : " ^3.0.1" ,
22- "symfony/cache" : " ^5.0" ,
23- "symfony/config" : " ^5.0" ,
24- "symfony/validator" : " ^5.2"
22+ "symfony/cache" : " ^5.0 || ^6.0 " ,
23+ "symfony/config" : " ^5.0 || ^6.0 " ,
24+ "symfony/validator" : " ^5.2 || ^6.0 "
2525 },
2626 "require-dev" : {
2727 "doctrine/annotations" : " ^1.8" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function __construct(Container $container)
3232 * @throws ValidatorException when the validator class does not exist
3333 * @throws UnexpectedTypeException when the validator is not an instance of ConstraintValidatorInterface
3434 */
35- public function getInstance (Constraint $ constraint )
35+ public function getInstance (Constraint $ constraint ): ConstraintValidatorInterface
3636 {
3737 /** @var class-string<ConstraintValidatorInterface> $name */
3838 $ name = $ constraint ->validatedBy ();
You can’t perform that action at this time.
0 commit comments