We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fe1357 commit eb0c9b3Copy full SHA for eb0c9b3
src/Resolver/FactoryResolver.php
@@ -42,7 +42,7 @@ public function resolve(DefinitionInterface $definition, array $parameters = [])
42
if (is_string($callable)) {
43
$callable = $this->container->get($callable);
44
}
45
- return $callable($this->container);
+ return $callable($this->container, $parameters);
46
} catch (NotCallableException $e) {
47
// Custom error message to help debugging
48
if (is_string($callable) && class_exists($callable) && method_exists($callable, '__invoke')) {
0 commit comments