@@ -280,7 +280,7 @@ protected function getLazyContextIgnoreInvalidRefService()
280
280
return $ this ->services ['lazy_context_ignore_invalid_ref ' ] = new \LazyContext (new RewindableGenerator (function () {
281
281
yield 0 => $ {($ _ = isset ($ this ->services ['foo.baz ' ]) ? $ this ->services ['foo.baz ' ] : $ this ->get ('foo.baz ' )) && false ?: '_ ' };
282
282
if ($ this ->has ('invalid ' )) {
283
- yield 1 => $ this ->get ('invalid ' , ContainerInterface::NULL_ON_INVALID_REFERENCE );
283
+ yield 1 => $ {( $ _ = isset ( $ this ->services [ ' invalid ' ]) ? $ this -> services [ ' invalid ' ] : $ this -> get ('invalid ' , ContainerInterface::NULL_ON_INVALID_REFERENCE )) && false ?: ' _ ' } ;
284
284
}
285
285
}, function () {
286
286
return 1 + (int ) ($ this ->has ('invalid ' ));
@@ -301,12 +301,12 @@ protected function getMethodCall1Service()
301
301
$ this ->services ['method_call1 ' ] = $ instance = new \Bar \FooClass ();
302
302
303
303
$ instance ->setBar ($ {($ _ = isset ($ this ->services ['foo ' ]) ? $ this ->services ['foo ' ] : $ this ->get ('foo ' )) && false ?: '_ ' });
304
- $ instance ->setBar ($ this ->get ('foo2 ' , ContainerInterface::NULL_ON_INVALID_REFERENCE ));
304
+ $ instance ->setBar ($ {( $ _ = isset ( $ this ->services [ ' foo2 ' ]) ? $ this -> services [ ' foo2 ' ] : $ this -> get ('foo2 ' , ContainerInterface::NULL_ON_INVALID_REFERENCE )) && false ?: ' _ ' } );
305
305
if ($ this ->has ('foo3 ' )) {
306
- $ instance ->setBar ($ this ->get ('foo3 ' , ContainerInterface::NULL_ON_INVALID_REFERENCE ));
306
+ $ instance ->setBar ($ {( $ _ = isset ( $ this ->services [ ' foo3 ' ]) ? $ this -> services [ ' foo3 ' ] : $ this -> get ('foo3 ' , ContainerInterface::NULL_ON_INVALID_REFERENCE )) && false ?: ' _ ' } );
307
307
}
308
308
if ($ this ->has ('foobaz ' )) {
309
- $ instance ->setBar ($ this ->get ('foobaz ' , ContainerInterface::NULL_ON_INVALID_REFERENCE ));
309
+ $ instance ->setBar ($ {( $ _ = isset ( $ this ->services [ ' foobaz ' ]) ? $ this -> services [ ' foobaz ' ] : $ this -> get ('foobaz ' , ContainerInterface::NULL_ON_INVALID_REFERENCE )) && false ?: ' _ ' } );
310
310
}
311
311
$ instance ->setBar (($ {($ _ = isset ($ this ->services ['foo ' ]) ? $ this ->services ['foo ' ] : $ this ->get ('foo ' )) && false ?: '_ ' }->foo () . (($ this ->hasParameter ("foo " )) ? ($ this ->getParameter ("foo " )) : ("default " ))));
312
312
0 commit comments