| Total Complexity | 11 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait OffsetBuilder { |
||
| 8 | private null|int|OptionalValue $offset = null; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @return null|int |
||
| 12 | */ |
||
| 13 | protected function getOffset(): ?int { |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param null|int|OptionalValue $offset |
||
| 26 | * @return $this |
||
| 27 | */ |
||
| 28 | public function offset($offset = 0) { |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $query |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | protected function buildOffset(string $query): string { |
||
| 58 |