Passed
Push — main ( 21cf21...aa2281 )
by Eric
01:56
created
src/Utils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.