Skip to content

Commit d366a01

Browse files
committed
fix(cli): lint
1 parent def5c9c commit d366a01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/SDK/Language/CLI.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,10 @@ public function getParamExample(array $param): string
367367

368368
public function getFilters(): array
369369
{
370-
return array_merge(parent::getFilters(),[
371-
new TwigFilter('caseKebab', function ($value) {
372-
return strtolower(preg_replace('/(?<!^)([A-Z][a-z]|(?<=[a-z])[^a-z]|(?<=[A-Z])[0-9_])/', '-$1', $value));
373-
})
370+
return array_merge(parent::getFilters(), [
371+
new TwigFilter('caseKebab', function ($value) {
372+
return strtolower(preg_replace('/(?<!^)([A-Z][a-z]|(?<=[a-z])[^a-z]|(?<=[A-Z])[0-9_])/', '-$1', $value));
373+
})
374374
]);
375375
}
376376
/**

0 commit comments

Comments
 (0)