File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/Symfony/Component/DependencyInjection/Tests/Fixtures/php Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ protected function getMethodCall1Service()
248
248
if ($ this ->has ('foobaz ' )) {
249
249
$ instance ->setBar ($ this ->get ('foobaz ' , ContainerInterface::NULL_ON_INVALID_REFERENCE ));
250
250
}
251
- $ instance ->setBar (($ this ->get (" foo " )->foo () . (($ this ->hasParameter (" foo " )) ? ($ this ->getParameter (" foo " )) : (" default " ))));
251
+ $ instance ->setBar (($ this ->get (' foo ' )->foo (). (($ this ->hasParameter (' foo ' )) ? ($ this ->getParameter (' foo ' )) : (' default ' ))));
252
252
253
253
return $ instance ;
254
254
}
Original file line number Diff line number Diff line change @@ -245,8 +245,8 @@ protected function getMethodCall1Service()
245
245
$ this ->services ['method_call1 ' ] = $ instance = new \Bar \FooClass ();
246
246
247
247
$ instance ->setBar ($ this ->get ('foo ' ));
248
- $ instance ->setBar (NULL );
249
- $ instance ->setBar (($ this ->get (" foo " )->foo () . (($ this ->hasParameter (" foo " )) ? ($ this ->getParameter (" foo " )) : (" default " ))));
248
+ $ instance ->setBar (null );
249
+ $ instance ->setBar (($ this ->get (' foo ' )->foo (). (($ this ->hasParameter (' foo ' )) ? ($ this ->getParameter (' foo ' )) : (' default ' ))));
250
250
251
251
return $ instance ;
252
252
}
You can’t perform that action at this time.
0 commit comments