Skip to content
Snippets Groups Projects
Commit 1741149c authored by catch's avatar catch
Browse files

Issue #3085751 by alexpott, Deepak Goyal, rpayanm, longwave, catch, volkerk,...

Issue #3085751 by alexpott, Deepak Goyal, rpayanm, longwave, catch, volkerk, kristiaanvandeneynde, dww: [backport] Setter injection arguments are not checked for unmet dependencies
parent bd6c449c
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ public function process(ContainerBuilder $container) {
* TRUE if the argument is a reference to a service that is missing from the
* container and the reference is required, FALSE if not.
*/
protected function isArgumentMissingService($argument, ContainerBuilder $container) {
private function isArgumentMissingService($argument, ContainerBuilder $container) {
if ($argument instanceof Reference) {
$argument_id = (string) $argument;
if (!$container->has($argument_id) && $argument->getInvalidBehavior() === ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment