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