Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
12 | class PromiseResponse extends Response implements PromiseInterface |
||
13 | { |
||
14 | private PromiseInterface $promise; |
||
15 | protected $stream; |
||
16 | |||
17 | /** |
||
18 | * @param PromiseInterface $promise |
||
19 | * @param mixed $body |
||
20 | * @param int $status |
||
21 | * @param array $headers |
||
22 | */ |
||
23 | 8 | public function __construct( |
|
31 | 8 | } |
|
32 | |||
33 | 8 | final public function then( |
|
41 |