forked from loafle/openapi-generator-original
PHP Models: fixing an issue with commas being where they shouldn't
This commit is contained in:
parent
0854ca5ce5
commit
24842d4a29
@ -37,7 +37,7 @@ class {{classname}} implements ArrayAccess {
|
||||
public ${{name}}; /* {{{datatype}}} */{{/vars}}
|
||||
|
||||
public function __construct(array $data) {
|
||||
{{#vars}}$this->{{name}} = $data["{{name}}"];{{#hasMore}},
|
||||
{{#vars}}$this->{{name}} = $data["{{name}}"];{{#hasMore}}
|
||||
{{/hasMore}}{{/vars}}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user