8000 bug #38022 Missed AbstractArgument (a-menshchikov) · symfony/symfony@692fa7a · GitHub
[go: up one dir, main page]

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

Appearance settings

Commit 692fa7a

Browse files
committed
bug #38022 Missed AbstractArgument (a-menshchikov)
This PR was merged into the 5.1 branch. Discussion ---------- Missed AbstractArgument | Q | A | ------------- | --- | Branch? | 5.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Missed in 5.1 Commits ------- b5a47da Missed AbstractArgument
2 parents 3061bfe + b5a47da commit 692fa7a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/DependencyInjection/Loader/Configurator/AbstractConfigurator.php

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

1212
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
1313

14+
use Symfony\Component\DependencyInjection\Argument\AbstractArgument;
1415
use Symfony\Component\DependencyInjection\Argument\ArgumentInterface;
1516
use Symfony\Component\DependencyInjection\Definition;
1617
use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
@@ -85,6 +86,7 @@ public static function processValue($value, $allowServices = false)
8586
case $value instanceof Definition:
8687
case $value instanceof Expression:
8788
case $value instanceof Parameter:
89+
case $value instanceof AbstractArgument:
8890
case $value instanceof Reference:
8991
if ($allowServices) {
9092
return $value;

0 commit comments

Comments
 (0)
0