Conditions | 3 |
Paths | 4 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
75 | 1 | public function getRequestData() |
|
76 | { |
||
77 | 1 | $ret = []; |
|
78 | 1 | $ret["type"] = $this->type; |
|
79 | 1 | $ret["trades"] = $this->trades; |
|
80 | 1 | if ($this->start) { |
|
81 | 1 | $ret["start"] = $this->start; |
|
82 | 1 | } |
|
83 | |||
84 | 1 | if ($this->end) { |
|
85 | 1 | $ret["end"] = $this->end; |
|
86 | 1 | } |
|
87 | |||
88 | 1 | $ret["ofs"] = $this->ofs; |
|
89 | 1 | return $ret; |
|
90 | } |
||
100 |