From 20783215042b181b0dec92c9e01947b93cb5d085 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Thu, 7 Dec 2017 22:05:43 +0100 Subject: [PATCH] Make sure we do not instantiate an abstract class. (#424) --- src/Mailgun/Model/Domain/AbstractDomainResponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /**