Passed
Push — 0.x ( ec4bb9...116d28 )
by Pavel
11:37
created
src/JWKs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     {
24 24
         $keys = $values['keys'] ?? throw new InvalidArgumentException('Key "keys" is missing');
25 25
 
26
-        return new self(array_map(static fn (array $keyData) => new JWK($keyData), $keys));
26
+        return new self(array_map(static fn(array $keyData) => new JWK($keyData), $keys));
27 27
     }
28 28
 
29 29
     /** @return JWK[] */
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /** @return array{keys: array<int, array<string, string>>} */
36 36
     public function toArray(): array
37 37
     {
38
-        return ['keys' => array_map(static fn (JWK $key) => $key->all(), $this->keys())];
38
+        return ['keys' => array_map(static fn(JWK $key) => $key->all(), $this->keys())];
39 39
     }
40 40
 
41 41
     /** @return array{keys: array<int, array<string, string>>} */
Please login to merge, or discard this patch.