summaryrefslogtreecommitdiffstats
path: root/lib/SparkPost/SparkPostResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SparkPost/SparkPostResponse.php')
-rw-r--r--lib/SparkPost/SparkPostResponse.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SparkPost/SparkPostResponse.php b/lib/SparkPost/SparkPostResponse.php
index 846dff5..402a2b2 100644
--- a/lib/SparkPost/SparkPostResponse.php
+++ b/lib/SparkPost/SparkPostResponse.php
@@ -22,7 +22,7 @@ class SparkPostResponse implements ResponseInterface
*
* @param ResponseInterface $response
*/
- public function __construct(ResponseInterface $response, $request)
+ public function __construct(ResponseInterface $response, $request = null)
{
$this->response = $response;
$this->request = $request;