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 48fb5ce commit 82206feCopy full SHA for 82206fe
src/DI/Config/Processor.php
@@ -265,7 +265,7 @@ private function updateFactoryDefinition(Definitions\FactoryDefinition $definiti
265
266
if (array_key_exists('arguments', $config)) {
267
$arguments = $config['arguments'];
268
- if (!Helpers::takeParent($arguments) && !Nette\Utils\Arrays::isList($arguments) && $definition->getFactory()) {
+ if (!Helpers::takeParent($arguments) && !Nette\Utils\Arrays::isList($arguments) && $resultDef->getFactory()) {
269
$arguments += $resultDef->getFactory()->arguments;
270
}
271
$resultDef->setArguments($arguments);
0 commit comments