Conditions | 5 |
Paths | 4 |
Total Lines | 14 |
Lines | 6 |
Ratio | 42.86 % |
Changes | 0 |
1 | <?php |
||
43 | |||
44 | if ($this->hasParameter(self::LTE) && $this->hasParameter(self::LT)) { |
||
45 | unset($this->parameters[self::LT]); |
||
46 | } |
||
47 | } |
||
48 | |||
49 | public function getType(): string |
||
50 | { |
||
51 | return 'range'; |
||
52 | } |
||
53 | |||
54 | public function toArray(): array |
||
55 | { |
||
56 | $output = [ |
||
57 | $this->field => $this->getParameters(), |
||
63 |