Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HttpKernel] ControllerResolver arguments reflection for Closure object.
When controller is a Closure ControllerResolver::getArguments tries to make a ReflectionMethod of the __invoke method. But because it's an internal function, the parameters method isDefaultValueAvailable will return always false, even if isOptional return true.
- Loading branch information