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 def5c9c commit d366a01Copy full SHA for d366a01
src/SDK/Language/CLI.php
@@ -367,10 +367,10 @@ public function getParamExample(array $param): string
367
368
public function getFilters(): array
369
{
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
- })
+ return array_merge(parent::getFilters(), [
+ new TwigFilter('caseKebab', function ($value) {
+ return strtolower(preg_replace('/(?<!^)([A-Z][a-z]|(?<=[a-z])[^a-z]|(?<=[A-Z])[0-9_])/', '-$1', $value));
+ })
374
]);
375
}
376
/**
0 commit comments