From 24842d4a29213efe9b7f49c2581f546af7a252ef Mon Sep 17 00:00:00 2001 From: James Ebentier Date: Fri, 13 Mar 2015 09:36:24 -0700 Subject: [PATCH] PHP Models: fixing an issue with commas being where they shouldn't --- modules/swagger-codegen/src/main/resources/php/model.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/swagger-codegen/src/main/resources/php/model.mustache b/modules/swagger-codegen/src/main/resources/php/model.mustache index 606203f8940..f11a1547169 100644 --- a/modules/swagger-codegen/src/main/resources/php/model.mustache +++ b/modules/swagger-codegen/src/main/resources/php/model.mustache @@ -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}} }