| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function sendData($data): ResponseInterface |
||
| 16 | { |
||
| 17 | $response = $this->sendRequest( |
||
| 18 | Request::METHOD_GET, |
||
| 19 | sprintf( |
||
| 20 | '/api/transaction/%s', |
||
| 21 | $this->getTransactionReference() |
||
| 22 | ) |
||
| 23 | ); |
||
| 24 | |||
| 25 | return new CompleteAuthorizeResponse( |
||
| 26 | $this, |
||
| 27 | $response->getStatusCode(), |
||
| 28 | $this->getResponseBody($response), |
||
| 29 | ); |
||
| 44 |