twilio / twilio-php

A PHP library for communicating with the Twilio REST API and generating TwiML.
MIT License
1.57k stars 562 forks source link

fix: correct default values for different data types #768

Closed isha689 closed 1 year ago

isha689 commented 1 year ago

Fixes #663

Set the default values for different data types correctly. Previously, for string, bool, int, DateTime the default value had been set as Values:: NONE which is string. Each dataType should have its correct default value. DateTime is set as null because we cannot set an object as a default function/method parameter.

Related PR: https://github.com/twilio/twilio-oai-generator/pull/423

Checklist

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.