Skip to content

Commit 4b272d6

Browse files
Merge branch '3.4' into 4.0
* 3.4: [DI] fix undefined offset in InlineServiceDefinitionsPass [Security/Http] Fix deps conflict
2 parents 749592f + 8a4672a commit 4b272d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/InlineServiceDefinitionsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,6 @@ private function isInlineableDefinition($id, Definition $definition, ServiceRefe
120120
return false;
121121
}
122122

123-
return $this->container->getDefinition($ids[0])->isShared();
123+
return !$ids || $this->container->getDefinition($ids[0])->isShared();
124124
}
125125
}

0 commit comments

Comments
 (0)