Skip to content

Commit

Permalink
Remove default setting of bool (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
jillingk authored Jan 10, 2024
1 parent c8f030b commit 7c48975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/model_generic.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class {{classname}} {{#parentSchema}}extends {{{parent}}}{{/parentSchema}}{{^par

{{/parentSchema}}
{{#vars}}
$this->setIfExists('{{name}}', $data ?? [], {{#defaultValue}}{{{defaultValue}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}});
$this->setIfExists('{{name}}', $data ?? [], null);
{{/vars}}
{{#discriminator}}

Expand Down

0 comments on commit 7c48975

Please sign in to comment.