Conditions | 3 |
Paths | 4 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
50 | 1 | protected function attachData(RequestInterface $request) |
|
51 | { |
||
52 | 1 | $request->addData('searchType', $this->searchType); |
|
53 | 1 | if ($this->sorting) { |
|
54 | 1 | $request->addDataType($this->sorting); |
|
55 | 1 | } |
|
56 | 1 | if ($this->paging) { |
|
57 | 1 | $request->addDataType($this->paging); |
|
58 | 1 | } |
|
59 | 1 | } |
|
60 | } |
||
61 |