Skip to content

Commit 9439633

Browse files
committed
Fix PHP enum key case filter
1 parent 1c86293 commit 9439633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SDK/Language/PHP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public function getFilters(): array
390390
return php_uname('s') . '; ' . php_uname('v') . '; ' . php_uname('m');
391391
}),
392392
new TwigFilter('caseEnumKey', function (string $value) {
393-
$this->toUpperSnakeCase($value);
393+
return $this->toUpperSnakeCase($value);
394394
}),
395395
];
396396
}

0 commit comments

Comments
 (0)