Skip to content

Commit

Permalink
Make sure we do not instantiate an abstract class. (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm authored Dec 7, 2017
1 parent e86ca61 commit 2078321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mailgun/Model/Domain/AbstractDomainResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static function create(array $data)
}
}

return new self($domain, $rx, $tx, $message);
return new static($domain, $rx, $tx, $message);
}

/**
Expand Down

0 comments on commit 2078321

Please sign in to comment.