Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 1 | public function sendSignedContracts(SignContractsCommand $command): SignContractsResult |
|
26 | { |
||
27 | // this empty string are for ommiting sending username and password |
||
28 | 1 | $soapCaller = $this->settings()->createCallerForService(Services::manifest(), '', ''); |
|
29 | 1 | $rawResponse = $soapCaller->call('sign_contract', [ |
|
30 | 1 | 'snid' => $command->snid(), |
|
31 | 1 | 'privacy_xml' => $command->privacy(), |
|
32 | 1 | 'contract_xml' => $command->contract(), |
|
33 | ]); |
||
34 | 1 | return new SignContractsResult($rawResponse); |
|
35 | } |
||
37 |