Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | 3 | public function setData(string $prevPages, string $nextPages, string $pages, ?IPositions $positions): self |
|
31 | { |
||
32 | 3 | $this->updateItem('{PREV_PAGES}', $prevPages); |
|
33 | 3 | $this->updateItem('{PAGES}', $pages); |
|
34 | 3 | $this->updateItem('{NEXT_PAGES}', $nextPages); |
|
35 | 3 | $this->updateItem('{HELPING_TEXT}', $this->getFilledText($positions)); |
|
36 | 3 | return $this; |
|
37 | } |
||
39 |