@@ -59,7 +59,7 @@ |
||
59 | 59 | * Constructor |
60 | 60 | * @param string|float|int|bool|null $value the value to compare against |
61 | 61 | */ |
62 | - public function __construct(protected string|float|int|bool|null $value) |
|
62 | + public function __construct(protected string | float | int | bool | null $value) |
|
63 | 63 | { |
64 | 64 | $this->value = $value; |
65 | 65 | } |
@@ -59,7 +59,7 @@ |
||
59 | 59 | * Constructor |
60 | 60 | * @param string|float|int|bool|null $value the value to compare against |
61 | 61 | */ |
62 | - public function __construct(protected string|float|int|bool|null $value) |
|
62 | + public function __construct(protected string | float | int | bool | null $value) |
|
63 | 63 | { |
64 | 64 | $this->value = $value; |
65 | 65 | } |
@@ -61,8 +61,8 @@ |
||
61 | 61 | * @param string|float|int|bool|null $max the maximum value to compare against |
62 | 62 | */ |
63 | 63 | public function __construct( |
64 | - protected string|float|int|bool|null $min, |
|
65 | - protected string|float|int|bool|null $max |
|
64 | + protected string | float | int | bool | null $min, |
|
65 | + protected string | float | int | bool | null $max |
|
66 | 66 | ) { |
67 | 67 | $this->min = $min; |
68 | 68 | $this->max = $max; |
@@ -74,7 +74,7 @@ |
||
74 | 74 | return true; |
75 | 75 | } |
76 | 76 | |
77 | - return (bool) preg_match($this->regex, (string)$value); |
|
77 | + return (bool) preg_match($this->regex, (string) $value); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |