Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | 1 | public function __construct( |
|
17 | int|QueryBuilder|Expression $offsetOrCount, |
||
18 | int|QueryBuilder|Expression $count = null |
||
19 | ) { |
||
20 | 1 | $this->count = $offsetOrCount; |
|
21 | 1 | $this->offset = null; |
|
22 | |||
23 | 1 | if ($count !== null) { |
|
24 | 1 | $this->count = $count; |
|
25 | 1 | $this->offset = $offsetOrCount; |
|
26 | } |
||
45 |