@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | /** |
28 | 28 | * @dataProvider dataProviderQuery |
29 | 29 | */ |
30 | - public function testRequiredSignedQuery(array $keys, string $body, null|array $parsedBody, string $signature, string $expectExceptionMessage = '', string $ip = ''): void |
|
30 | + public function testRequiredSignedQuery(array $keys, string $body, null | array $parsedBody, string $signature, string $expectExceptionMessage = '', string $ip = ''): void |
|
31 | 31 | { |
32 | 32 | $this->process($keys, true, $ip, $body, $parsedBody, $signature, $expectExceptionMessage); |
33 | 33 | } |
@@ -35,7 +35,7 @@ discard block |
||
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 | } |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | new SignedQueryMiddleware([], []); |
48 | 48 | } |
49 | 49 | |
50 | - private function process(array $keys, bool $required, string $ip, string $body, null|array $parsedBody, string $signature, string $expectExceptionMessage): void |
|
50 | + private function process(array $keys, bool $required, string $ip, string $body, null | array $parsedBody, string $signature, string $expectExceptionMessage): void |
|
51 | 51 | { |
52 | 52 | $request = new ServerRequest(['REMOTE_ADDR' => $ip]); |
53 | 53 | $request = $request->withBody(new CallbackStream(fn () => $body))->withParsedBody($parsedBody); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | final class PhpEnumType extends \GraphQL\Type\Definition\PhpEnumType |
14 | 14 | { |
15 | - protected function extractDescription(ReflectionClassConstant|ReflectionClass $reflection): ?string |
|
15 | + protected function extractDescription(ReflectionClassConstant | ReflectionClass $reflection): ?string |
|
16 | 16 | { |
17 | 17 | if ($reflection instanceof ReflectionClassConstant) { |
18 | 18 | $value = $reflection->getValue(); |
@@ -25,7 +25,7 @@ |
||
25 | 25 | return $sql; |
26 | 26 | } |
27 | 27 | |
28 | - public function convertToPHPValue(mixed $value, AbstractPlatform $platform): null|string|BackedEnum |
|
28 | + public function convertToPHPValue(mixed $value, AbstractPlatform $platform): null | string | BackedEnum |
|
29 | 29 | { |
30 | 30 | if ($value === null || '' === $value) { |
31 | 31 | return null; |