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 39df9e4 commit e54c1a6Copy full SHA for e54c1a6
src/Symfony/Component/HttpKernel/Controller/ArgumentResolver/DefaultValueResolver.php
@@ -27,7 +27,7 @@ final class DefaultValueResolver implements ArgumentValueResolverInterface
27
*/
28
public function supports(Request $request, ArgumentMetadata $argument)
29
{
30
- return $argument->hasDefaultValue() && !$request->attributes->has($argument->getName());
+ return $argument->hasDefaultValue();
31
}
32
33
/**
0 commit comments