Skip to content

Commit 17f887e

Browse files
committed
fix should skip
1 parent c74336c commit 17f887e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/NodeFactory/Service/ServiceOptionNodeFactory.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,12 @@ private function unNestArguments(array $servicesValues): array
6969
];
7070
}
7171

72-
private function shouldSkip(string $key): bool
72+
private function shouldSkip(string|int $key): bool
7373
{
74+
if (\is_int($key)) {
75+
return false;
76+
}
77+
7478
// options started by decoration_<option> are used as options of the method decorate().
7579
if (\str_starts_with($key, 'decoration_')) {
7680
return true;

0 commit comments

Comments
 (0)