8000 Fix merge · symfony/symfony@37baa1d · GitHub
[go: up one dir, main page]

Skip to content

Commit 37baa1d

Browse files
Fix merge
1 parent 10ec39e commit 37baa1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/ContainerBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ private function callMethod($service, $call, \SplObjectStorage $inlinedDefinitio
11511151
*/
11521152
private function shareService(Definition $definition, $service, $id, \SplObjectStorage $inlinedDefinitions)
11531153
{
1154-
if (!$definition->isShared() || self::SCOPE_PROTOTYPE === $scope = $definition->getScope()) {
1154+
if (!$definition->isShared() || self::SCOPE_PROTOTYPE === $scope = $definition->getScope(false)) {
11551155
return;
11561156
}
11571157
if (null === $id) {

0 commit comments

Comments
 (0)
0