Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function getValue() |
||
13 | { |
||
14 | return [ |
||
15 | 'range' => "(cast({$this->stepSize} * cast({$this->column}/{$this->stepSize} as int) as string) || ' - ' || |
||
16 | cast({$this->stepSize} * cast({$this->column}/{$this->stepSize} as int) + {$this->stepSize} - 1 as string))", |
||
17 | 'minVal' => "{$this->stepSize} * cast({$this->column}/{$this->stepSize} as int)", |
||
18 | ]; |
||
21 |