We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15131c7 commit 06c96cfCopy full SHA for 06c96cf
src/DependencyInjection/AutowiredAttributeServicesExtension.php
@@ -40,7 +40,7 @@ public function loadConfiguration(): void
40
41
$autowiredParameters = Attributes::findTargetMethodParameters(AutowiredParameter::class);
42
$constructorParameters = [];
43
- foreach($autowiredParameters as $parameter) {
+ foreach($autowiredParameters as $parameter) {
44
if (strcasecmp($parameter->method, '__construct') !== 0) {
45
continue;
46
}
@@ -142,7 +142,7 @@ public function loadConfiguration(): void
142
private function processParameters(string $className, ServiceDefinition $definition, array $constructorParameters): void
143
{
144
$builder = $this->getContainerBuilder();
145
- foreach($constructorParameters[$className] ?? [] as $autowiredParameter) {
+ foreach($constructorParameters[$className] ?? [] as $autowiredParameter) {
146
$ref = $autowiredParameter->attribute->ref;
147
if ($ref === null) {
148
$argument = Helpers::expand(
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments