Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 1 | public function reportCredit(ReportCreditCommand $command): ReportCreditResult |
|
26 | { |
||
27 | 1 | $soapCaller = $this->settings()->createCallerForService(Services::utilities()); |
|
28 | 1 | $rawResponse = $soapCaller->call('report_credit', [ |
|
29 | 1 | 'taxpayer_id' => $command->rfc(), |
|
30 | ]); |
||
31 | 1 | return new ReportCreditResult($rawResponse); |
|
32 | } |
||
34 |