diff --git a/src/Mailgun/Model/Domain/AbstractDomainResponse.php b/src/Mailgun/Model/Domain/AbstractDomainResponse.php index 73de631..0b7b67d 100644 --- a/src/Mailgun/Model/Domain/AbstractDomainResponse.php +++ b/src/Mailgun/Model/Domain/AbstractDomainResponse.php @@ -68,7 +68,7 @@ abstract class AbstractDomainResponse implements ApiResponse } } - return new self($domain, $rx, $tx, $message); + return new static($domain, $rx, $tx, $message); } /**