Make sure we do not instantiate an abstract class. (#424)

This commit is contained in:
Tobias Nyholm 2017-12-07 22:05:43 +01:00 committed by GitHub
parent e86ca61027
commit 2078321504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ abstract class AbstractDomainResponse implements ApiResponse
}
}
return new self($domain, $rx, $tx, $message);
return new static($domain, $rx, $tx, $message);
}
/**