@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | { |
44 | 44 | static $availableMethods; |
45 | 45 | |
46 | - $availableMethods ??= ['HEAD', 'GET', 'DELETE', 'OPTIONS', 'PATCH', 'POST', 'PUT',]; |
|
46 | + $availableMethods ??= ['HEAD', 'GET', 'DELETE', 'OPTIONS', 'PATCH', 'POST', 'PUT', ]; |
|
47 | 47 | |
48 | 48 | // Check for a valid method |
49 | 49 | if (!\in_array($method, $availableMethods, true)) { |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | |
101 | 101 | $invalidOptions = []; |
102 | 102 | |
103 | - array_filter($options, static function ($value, int|string $key) use (&$invalidOptions, $validOptions): bool { |
|
103 | + array_filter($options, static function($value, int | string $key) use (&$invalidOptions, $validOptions): bool { |
|
104 | 104 | if (!\in_array($key, $validOptions, true)) { |
105 | 105 | $invalidOptions[] = $key; |
106 | 106 |