Skip to content

Commit be91dd5

Browse files
committed
fix: add extra whitespace for kotlin and php
1 parent 3739b68 commit be91dd5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ data class <%- toPascalCase(collection.name) %>(
7070
<% for (const [index, attribute] of Object.entries(collection.attributes)) { -%>
7171
val <%- strict ? toCamelCase(attribute.key) : attribute.key %>: <%- getType(attribute, collections) %><% if (index < collection.attributes.length - 1) { %>,<% } %>
7272
<% } -%>
73-
)`;
73+
)
74+
`;
7475
}
7576

7677
getFileName(collection) {

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ class <%- toPascalCase(collection.name) %> {
9595
<% if (index < collection.attributes.length - 1) { %>
9696
<% } -%>
9797
<% } -%>
98-
}`;
98+
}
99+
`;
99100
}
100101
101102
getFileName(collection) {

0 commit comments

Comments
 (0)