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