| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function printDocument($DocumentRefs, $type = 'html') |
||
| 22 | { |
||
| 23 | if (is_array($DocumentRefs) === false) { |
||
| 24 | $DocumentRefs = explode(', ', /** @scrutinizer ignore-type */ $DocumentRefs); |
||
| 25 | } |
||
| 26 | |||
| 27 | $orders = "orders[]/" . implode("/orders[]/", $DocumentRefs); |
||
|
|
|||
| 28 | $this->calledMethod = 'printDocument/' . $orders . '/type/' . $type . '/apiKey/' . $this->getApi(); |
||
| 29 | |||
| 30 | return $this->getResponse($this->model, $this->calledMethod, $this->methodProperties); |
||
| 31 | } |
||
| 33 |