Passed
Push — master ( 30ab2e...5311a4 )
by Adrien
02:53
created
tests/Middleware/SignedQueryMiddlewareTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * @dataProvider dataProviderQuery
29 29
      */
30
-    public function testRequiredSignedQuery(array $keys, string $body, null|array $parsedBody, string $signature, string $expectExceptionMessage = ''): void
30
+    public function testRequiredSignedQuery(array $keys, string $body, null | array $parsedBody, string $signature, string $expectExceptionMessage = ''): void
31 31
     {
32 32
         $this->process($keys, true, $body, $parsedBody, $signature, $expectExceptionMessage);
33 33
     }
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * @dataProvider dataProviderQuery
37 37
      */
38
-    public function testNonRequiredSignedQuery(array $keys, string $body, null|array $parsedBody, string $signature): void
38
+    public function testNonRequiredSignedQuery(array $keys, string $body, null | array $parsedBody, string $signature): void
39 39
     {
40 40
         $this->process($keys, false, $body, $parsedBody, $signature, '');
41 41
     }
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         new SignedQueryMiddleware([]);
47 47
     }
48 48
 
49
-    private function process(array $keys, bool $required, string $body, null|array $parsedBody, string $signature, string $expectExceptionMessage): void
49
+    private function process(array $keys, bool $required, string $body, null | array $parsedBody, string $signature, string $expectExceptionMessage): void
50 50
     {
51 51
         $request = new ServerRequest();
52 52
         $request = $request->withBody(new CallbackStream(fn () => $body))->withParsedBody($parsedBody);
Please login to merge, or discard this patch.