From 475c404d40ce20a67c3e9c33bccbeeb69a82846e Mon Sep 17 00:00:00 2001 From: Shubham Date: Fri, 10 Jan 2025 14:18:17 +0530 Subject: [PATCH] chore: using correct baseName in json serialize in php (#630) --- src/main/resources/twilio-php/models/modelClass.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/twilio-php/models/modelClass.mustache b/src/main/resources/twilio-php/models/modelClass.mustache index 3ad079aaa..1a4ab3113 100644 --- a/src/main/resources/twilio-php/models/modelClass.mustache +++ b/src/main/resources/twilio-php/models/modelClass.mustache @@ -23,7 +23,7 @@ class {{classname}} implements \JsonSerializable { return [ {{#vars}} - '{{#lambda.camelcase}}{{baseName}}{{/lambda.camelcase}}' => $this->{{#lambda.camelcase}}{{baseName}}{{/lambda.camelcase}}{{^-last}},{{/-last}} + '{{baseName}}' => $this->{{#lambda.camelcase}}{{baseName}}{{/lambda.camelcase}}{{^-last}},{{/-last}} {{/vars}} ]; }