Skip to content

Commit

Permalink
chore: using correct baseName in json serialize in php
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 committed Jan 10, 2025
1 parent b3764c1 commit 55a79e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/twilio-php/models/modelClass.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
];
}
Expand Down

0 comments on commit 55a79e2

Please sign in to comment.