| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 66 | public function getOrders( |
||
| 67 | int $skip = 0, |
||
| 68 | int $limit = 100, |
||
| 69 | int $days = null, |
||
| 70 | string $dateBegin = null, |
||
| 71 | string $dateEnd = null, |
||
| 72 | bool $paid = null, |
||
| 73 | string $search = null |
||
| 74 | ) { |
||
| 75 | $url = UrlHelper::build(self::METHODS['get.orders'], [ |
||
| 76 | 'skip' => $skip, |
||
| 77 | 'limit' => $limit, |
||
| 78 | 'days' => $days, |
||
| 79 | 'dateBegin' => $dateBegin, |
||
| 80 | 'dateEnd' => $dateEnd, |
||
| 81 | 'paid' => $paid, |
||
| 82 | 'search' => $search, |
||
| 83 | ]); |
||
| 84 | return $this->get($url); |
||
| 85 | } |
||
| 87 |