Skip to content

Commit ad8f049

Browse files
committed
Fix scrutinizer issues
1 parent abfecd2 commit ad8f049

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ReactPromiseAdapter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use React\EventLoop\LoopInterface;
66
use React\Promise\PromiseInterface as ReactPromise;
77
use Http\Client\Promise;
8+
use Http\Client\Exception;
89
use Psr\Http\Message\ResponseInterface;
910

1011
/**
@@ -54,7 +55,7 @@ function(ResponseInterface $response) {
5455
$this->state = Promise::FULFILLED;
5556
$this->response = $response;
5657
},
57-
function(\Exception $error) {
58+
function(Exception $error) {
5859
$this->state = Promise::REJECTED;
5960
$this->exception = $error;
6061
}

0 commit comments

Comments
 (0)