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