8000 Remove unreachable code · symfony/symfony@ced0857 · GitHub
[go: up one dir, main page]

Skip to content

Commit ced0857

Browse files
Remove unreachable code
1 parent 55a7691 commit ced0857

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Symfony/Component/DependencyInjection/Compiler/RegisterServiceSubscribersPass.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ protected function processValue($value, $isRoot = false)
7474
if ($optionalBehavior = '?' === $type[0]) {
7575
$type = substr($type, 1);
7676
$optionalBehavior = ContainerInterface::IGNORE_ON_INVALID_REFERENCE;
77-
} elseif ($optionalBehavior = '!' === $type[0]) {
78-
$type = substr($type, 1);
79-
$optionalBehavior = ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE;
8077
}
8178
if (is_int($key)) {
8279
$key = $type;

0 commit comments

Comments
 (0)
0