Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad5abb7

Browse files
committed
[DI] Do not inline values of lazy arguments
1 parentf8b02ed commitad5abb7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎src/Symfony/Component/DependencyInjection/Compiler/InlineServiceDefinitionsPass.php‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespaceSymfony\Component\DependencyInjection\Compiler;
1313

14-
useSymfony\Component\DependencyInjection\Argument\ArgumentInterface;
1514
useSymfony\Component\DependencyInjection\Definition;
1615
useSymfony\Component\DependencyInjection\Reference;
1716
useSymfony\Component\DependencyInjection\ContainerBuilder;
@@ -68,8 +67,6 @@ private function inlineArguments(ContainerBuilder $container, array $arguments,
6867
}
6968
if (is_array($argument)) {
7069
$arguments[$k] =$this->inlineArguments($container,$argument);
71-
}elseif ($argumentinstanceof ArgumentInterface) {
72-
$argument->setValues($this->inlineArguments($container,$argument->getValues()));
7370
}elseif ($argumentinstanceof Reference) {
7471
if (!$container->hasDefinition($id = (string)$argument)) {
7572
continue;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp