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