[FrameworkBundle] updated method call
This commit is contained in:
parent
589b0ab4ed
commit
7bbb8beb17
@ -35,6 +35,6 @@ class AddFormGuessersPass implements CompilerPassInterface
|
||||
$guessers[] = new Reference($serviceId);
|
||||
}
|
||||
|
||||
$container->getDefinition('form.factory')->setArgument(1, $guessers);
|
||||
$container->getDefinition('form.factory')->replaceArgument(1, $guessers);
|
||||
}
|
||||
}
|
||||
|
@ -41,6 +41,6 @@ class AddFormTypesPass implements CompilerPassInterface
|
||||
$types[$alias] = $serviceId;
|
||||
}
|
||||
|
||||
$container->getDefinition('form.type.loader')->setArgument(1, $types);
|
||||
$container->getDefinition('form.type.loader')->replaceArgument(1, $types);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user