Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 1 | public function cancelSignature(CancelSignatureCommand $command): CancelSignatureResult |
|
26 | { |
||
27 | 1 | $soapCaller = $this->settings()->createCallerForService(Services::retentions()); |
|
28 | 1 | $rawResponse = $soapCaller->call('cancel_signature', [ |
|
29 | 1 | 'xml' => $command->xml(), |
|
30 | 1 | 'store_pending' => $command->storePending()->asBool(), |
|
31 | ]); |
||
32 | 1 | $result = new CancelSignatureResult($rawResponse); |
|
33 | 1 | return $result; |
|
34 | } |
||
36 |