| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function table(): PaymentTypeCollection |
||
| 22 | { |
||
| 23 | $response = $this->httpGet('/payment-type/table'); |
||
| 24 | |||
| 25 | if ($response->getStatusCode() >= 400) { |
||
| 26 | (new ErrorHandler())->handleResponse($response); |
||
| 27 | } |
||
| 28 | |||
| 29 | return $this->hydrator->hydrate($response, PaymentTypeCollection::class); |
||
| 30 | } |
||
| 50 |