Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | 1 | public function sendData($data): ResponseInterface |
|
30 | { |
||
31 | 1 | $this->sendRequest( |
|
32 | 1 | Request::METHOD_GET, |
|
33 | 1 | sprintf( |
|
34 | 1 | '/transaction/%s', |
|
35 | 1 | $this->getTransactionReference() |
|
36 | ) |
||
37 | ); |
||
38 | |||
39 | 1 | return new CompleteAuthoriseAndCaptureResponse( |
|
40 | 1 | $this, |
|
41 | 1 | $this->getResponseBody() |
|
42 | ); |
||
58 |