Skip to content

Commit 257481b

Browse files
Chirag AggarwalChirag Aggarwal
authored andcommitted
fix: php enum casing for types
1 parent 30f5595 commit 257481b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/type-generation/languages/php.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ use Appwrite\\Models\\<%- toPascalCase(attribute.relatedCollection) %>;
5555
<% if (attribute.format === 'enum') { -%>
5656
enum <%- toPascalCase(attribute.key) %> {
5757
<% for (const [index, element] of Object.entries(attribute.elements)) { -%>
58-
case <%- toUpperSnakeCase(element) %> = '<%- element %>';
58+
case <%- toUpperSnakeCase(element) %> = "<%- element %>";
5959
<% } -%>
6060
}
6161

0 commit comments

Comments
 (0)