Skip to content

Commit

Permalink
fix should skip
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Dec 16, 2023
1 parent c74336c commit 17f887e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/NodeFactory/Service/ServiceOptionNodeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,12 @@ private function unNestArguments(array $servicesValues): array
];
}

private function shouldSkip(string $key): bool
private function shouldSkip(string|int $key): bool
{
if (\is_int($key)) {
return false;
}

// options started by decoration_<option> are used as options of the method decorate().
if (\str_starts_with($key, 'decoration_')) {
return true;
Expand Down

0 comments on commit 17f887e

Please sign in to comment.