| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 77.78% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | abstract class AbstractResponse implements PayPalResponse |
||
| 10 | { |
||
| 11 | protected HttpClientResponse $response; |
||
| 12 | |||
| 13 | 10 | public function __construct(HttpClientResponse $response) |
|
| 14 | { |
||
| 15 | 10 | $this->response = $response; |
|
| 16 | 10 | } |
|
| 17 | |||
| 18 | 10 | public function getResponse(): HttpClientResponse |
|
| 19 | { |
||
| 20 | 10 | return $this->response; |
|
| 21 | } |
||
| 22 | |||
| 23 | 10 | public function toArray(): array |
|
| 29 | } |
||
| 30 | } |
||
| 31 | } |
||
| 32 |