| Total Complexity | 9 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class SchemaFloatAttribute extends SchemaAttribute |
||
| 11 | { |
||
| 12 | protected ?float $min = null; |
||
| 13 | protected ?float $max = null; |
||
| 14 | |||
| 15 | public function min(?float $min): self |
||
| 16 | { |
||
| 17 | $this->min = $min; |
||
| 18 | return $this; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function max(?float $max): self |
||
| 25 | } |
||
| 26 | |||
| 27 | public function parseContextual($value) |
||
| 46 | } |
||
| 47 | } |