Closed mprokocki closed 3 years ago
If firstBillingDate
is DateTime
class everything is alright, just wondering why you are not supporting DateTimeImmutable
also??
@mprokocki if you'd like to open a PR, we'd be happy to review it. Will just need to make sure it does not cause any breaking changes (or it'll have to wait till the next major version bump)
👋 Version 6.0.0 includes updates to support the DateTimeImmutable
class 🎉 I'm going to go ahead and close this issue, but please let us know if you continue to encounter problems around these changes.
General information
Issue description
Braintree\Xml\Generator::_createElementsFromArray
line 89 throwing exception when one of attributes e.g.firstBillingDate
in subscription gateway isDateTimeImmutable
instance.