Total Complexity | 2 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 53.85% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class Handler extends MockHandler |
||
10 | { |
||
11 | /** |
||
12 | * @var string|\Swis\Http\Fixture\ResponseBuilderInterface |
||
13 | */ |
||
14 | protected $responseBuilder; |
||
15 | |||
16 | /** |
||
17 | * @param \Swis\Http\Fixture\ResponseBuilderInterface $responseBuilder |
||
18 | * @param array|null $queue |
||
19 | * @param callable|null $onFulfilled |
||
20 | * @param callable|null $onRejected |
||
21 | */ |
||
22 | 4 | public function __construct( |
|
30 | 4 | } |
|
31 | |||
32 | /** |
||
33 | * @param \Psr\Http\Message\RequestInterface $request |
||
34 | * @param array $options |
||
35 | * |
||
36 | * @throws \RuntimeException |
||
37 | * |
||
38 | * @return \GuzzleHttp\Promise\Promise|\GuzzleHttp\Promise\PromiseInterface |
||
39 | */ |
||
40 | 4 | public function __invoke(RequestInterface $request, array $options) |
|
47 |