mailgun / mailgun-php

Mailgun's Official SDK for PHP
http://www.mailgun.com
MIT License
1.09k stars 314 forks source link

Bugfix: TypeError caused by improper use of `new self()` instead of `new static()` in base class method (#878) #879

Closed Quarkay closed 9 months ago

Quarkay commented 10 months ago

Attempt to fix issue #878 and added simple test for validation.

Particularly, for final class DeleteResponse , replaced 'new static()' with the more appropriate 'new self()', since it's a final class.

vaibhavkumar-sf commented 9 months ago

PR Analysis