@@ -125,7 +125,7 @@ |
||
125 | 125 | $parsed = $this->parseRuleOpts($ruleOpts); |
126 | 126 | |
127 | 127 | $threshold_size = $parsed['param']; |
128 | - // Assert::in($threshold_size); |
|
128 | + // Assert::in($threshold_size); |
|
129 | 129 | |
130 | 130 | $message = $parsed['message']; |
131 | 131 |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | /** |
117 | 117 | * @param false|UploadedFileInterface $value |
118 | 118 | */ |
119 | - private function checkMaxsize($value, int|array|string $ruleOpts, Ruleable $element): bool |
|
119 | + private function checkMaxsize($value, int | array | string $ruleOpts, Ruleable $element): bool |
|
120 | 120 | { |
121 | 121 | if ($value === false) { |
122 | 122 | return true; |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | /** |
147 | 147 | * @param false|UploadedFileInterface $value |
148 | 148 | */ |
149 | - private function checkExtensions($value, string|array $ruleOpts, Ruleable $element): bool |
|
149 | + private function checkExtensions($value, string | array $ruleOpts, Ruleable $element): bool |
|
150 | 150 | { |
151 | 151 | if ($value === false) { |
152 | 152 | return true; |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | private function parseRuleOpts($opts): array |
176 | 176 | { |
177 | 177 | if (!is_array($opts)) { |
178 | - $opts = (array)$opts; |
|
178 | + $opts = (array) $opts; |
|
179 | 179 | $opts[1] = null; |
180 | 180 | } |
181 | 181 | list($param, $message) = $opts; |
@@ -6,7 +6,7 @@ |
||
6 | 6 | |
7 | 7 | final class Helper |
8 | 8 | { |
9 | - public static function arrayRecursiveSearchKeyMap(mixed $needle, array $haystack): array|null |
|
9 | + public static function arrayRecursiveSearchKeyMap(mixed $needle, array $haystack): array | null |
|
10 | 10 | { |
11 | 11 | foreach ($haystack as $firsLevelKey => $value) { |
12 | 12 | if ($needle === $value) { |