We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f952e commit da828b4Copy full SHA for da828b4
src/Validator/Constraints/RouteDefaultsTwigValidator.php
@@ -31,7 +31,7 @@ public function __construct(ControllerResolverInterface $controllerResolver, ?Lo
31
$this->twig = $twig;
32
}
33
34
- public function validate(mixed $value, Constraint $constraint): void
+ public function validate(mixed $defaults, Constraint $constraint): void
35
{
36
if (!$constraint instanceof RouteDefaults) {
37
throw new \InvalidArgumentException(sprintf('Expected %s, got %s', RouteDefaults::class, get_class($constraint)));
0 commit comments