Skip to content

Commit a518bc2

Browse files
bug #62476 [DependencyInjection] Fix wrong trait usage in ServiceLocatorArgument (yoeunes)
This PR was merged into the 7.4 branch. Discussion ---------- [DependencyInjection] Fix wrong trait usage in ServiceLocatorArgument | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT PR #60597 introduced `ArgumentTrait` to optimize serialization. However, `ServiceLocatorArgument` accidentally imported `ArgumentTrait` (from `Configurator`). Commits ------- 77f86c9 [DependencyInjection] Fix wrong trait usage in ServiceLocatorArgument
2 parents 752c078 + 77f86c9 commit a518bc2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/DependencyInjection/Argument/ServiceLocatorArgument.php

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

1212
namespace Symfony\Component\DependencyInjection\Argument;
1313

14-
use Symfony\Component\DependencyInjection\Loader\Configurator\Traits\ArgumentTrait;
15-
1614
/**
1715
* Represents a closure acting as a service locator.
1816
*

0 commit comments

Comments
 (0)