Skip to content

Commit 287b5a8

Browse files
Update FailureResponse.php
1 parent 3f7e597 commit 287b5a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Responses/FailureResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct($headers, $body, $http_code, callable $failure_callb
2323
parent::__construct($headers, $body, $http_code);
2424

2525
if ($failure_callback) {
26-
call_user_func($failure_callback);
26+
call_user_func($failure_callback, $this);
2727
}
2828
}
2929
}

0 commit comments

Comments
 (0)