Skip to content

Commit 154c28b

Browse files
committed
Merge pull request #385 from STRML/fixPHPComments
Rework generated PHP function comments.
2 parents 3abc42e + 8106de9 commit 154c28b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/main/resources/php/api.mustache

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ class {{classname}} {
2727
}
2828

2929
{{#operation}}
30-
/**
31-
* {{nickname}}
32-
* {{summary}}
30+
/**
31+
* {{nickname}}
32+
* {{summary}}
33+
*
3334
{{#allParams}}
34-
* {{paramName}}, {{dataType}}: {{description}} {{^optional}}(required){{/optional}}{{#optional}}(optional){{/optional}}
35-
{{newline}}
35+
* @param {{dataType}} ${{paramName}} {{description}} ({{^optional}}required{{/optional}}{{#optional}}optional{{/optional}})
3636
{{/allParams}}
3737
* @return {{returnType}}
3838
*/

0 commit comments

Comments
 (0)