@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | |
20 | 20 | protected string $type = 'range'; |
21 | 21 | |
22 | - public function setMin(string|int $min): self |
|
22 | + public function setMin(string | int $min): self |
|
23 | 23 | { |
24 | 24 | Assert::numeric($min); |
25 | 25 | $min = (int) $min; |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | |
31 | - public function setMax(int|string $max): self |
|
31 | + public function setMax(int | string $max): self |
|
32 | 32 | { |
33 | 33 | Assert::numeric($max); |
34 | 34 | $max = (int) $max; |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * @param numeric $step |
42 | 42 | * @return $this |
43 | 43 | */ |
44 | - public function setStep(float|int|string $step): self |
|
44 | + public function setStep(float | int | string $step): self |
|
45 | 45 | { |
46 | 46 | Assert::numeric($step); |
47 | 47 | $this->setAttribute(AttributeFactory::create('step', $step)); |