Skip to content

Commit 38fdbab

Browse files
simPodspawnia
andauthored
Update src/Type/Definition/Argument.php
Co-authored-by: Benedikt Franke <[email protected]>
1 parent 6fac59f commit 38fdbab

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Type/Definition/Argument.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ public static function listFromConfig(iterable $config): array
7373
$argConfig = ['type' => $argConfig];
7474
}
7575

76-
/** @phpstan-var ArgumentConfig $finalArgConfig */
77-
$finalArgConfig = $argConfig + ['name' => $name];
78-
$list[] = new self($finalArgConfig);
76+
/** @phpstan-var ArgumentConfig $argConfigWithName */
77+
$argConfigWithName = $argConfig + ['name' => $name];
78+
79+
$list[] = new self($argConfigWithName );
7980
}
8081

8182
return $list;

0 commit comments

Comments
 (0)