@@ -413,7 +413,7 @@ private function addServiceInclude($cId, Definition $definition, \SplObjectStora
413
413
if ($ this ->inlineRequires && !$ this ->isHotPath ($ definition )) {
414
414
$ lineage = $ calls = $ behavior = array ();
415
415
foreach ($ inlinedDefinitions as $ def ) {
416
- if (!$ def ->isDeprecated () && $ class = is_array ($ factory = $ def ->getFactory ()) && is_string ($ factory [0 ]) ? $ factory [0 ] : $ def ->getClass ()) {
416
+ if (!$ def ->isDeprecated () && is_string ( $ class = is_array ($ factory = $ def ->getFactory ()) && is_string ($ factory [0 ]) ? $ factory [0 ] : $ def ->getClass () )) {
417
417
$ this ->collectLineage ($ class , $ lineage );
418
418
}
419
419
$ arguments = array ($ def ->getArguments (), $ def ->getFactory (), $ def ->getProperties (), $ def ->getMethodCalls (), $ def ->getConfigurator ());
@@ -425,7 +425,7 @@ private function addServiceInclude($cId, Definition $definition, \SplObjectStora
425
425
&& ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE !== $ behavior [$ id ]
426
426
&& $ this ->container ->has ($ id )
427
427
&& $ this ->isTrivialInstance ($ def = $ this ->container ->findDefinition ($ id ))
428
- && $ class = is_array ($ factory = $ def ->getFactory ()) && is_string ($ factory [0 ]) ? $ factory [0 ] : $ def ->getClass ()
428
+ && is_string ( $ class = is_array ($ factory = $ def ->getFactory ()) && is_string ($ factory [0 ]) ? $ factory [0 ] : $ def ->getClass () )
429
429
) {
430
430
$ this ->collectLineage ($ class , $ lineage );
431
431
}
@@ -1226,7 +1226,7 @@ private function addInlineRequires()
1226
1226
$ inlinedDefinitions = $ this ->getDefinitionsFromArguments (array ($ definition ));
1227
1227
1228
1228
foreach ($ inlinedDefinitions as $ def ) {
1229
- if ($ class = is_array ($ factory = $ def ->getFactory ()) && is_string ($ factory [0 ]) ? $ factory [0 ] : $ def ->getClass ()) {
1229
+ if (is_string ( $ class = is_array ($ factory = $ def ->getFactory ()) && is_string ($ factory [0 ]) ? $ factory [0 ] : $ def ->getClass () )) {
1230
1230
$ this ->collectLineage ($ class , $ lineage );
1231
1231
}
1232
1232
}
0 commit comments