@@ -280,7 +280,7 @@ protected function getLazyContextIgnoreInvalidRefService()
280280 return $ this ->services ['lazy_context_ignore_invalid_ref ' ] = new \LazyContext (new RewindableGenerator (function () {
281281 yield 0 => $ {($ _ = isset ($ this ->services ['foo.baz ' ]) ? $ this ->services ['foo.baz ' ] : $ this ->get ('foo.baz ' )) && false ?: '_ ' };
282282 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 ?: ' _ ' } ;
284284 }
285285 }, function () {
286286 return 1 + (int ) ($ this ->has ('invalid ' ));
@@ -301,12 +301,12 @@ protected function getMethodCall1Service()
301301 $ this ->services ['method_call1 ' ] = $ instance = new \Bar \FooClass ();
302302
303303 $ 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 ?: ' _ ' } );
305305 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 ?: ' _ ' } );
307307 }
308308 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 ?: ' _ ' } );
310310 }
311311 $ instance ->setBar (($ {($ _ = isset ($ this ->services ['foo ' ]) ? $ this ->services ['foo ' ] : $ this ->get ('foo ' )) && false ?: '_ ' }->foo () . (($ this ->hasParameter ("foo " )) ? ($ this ->getParameter ("foo " )) : ("default " ))));
312312
0 commit comments