@@ -54,7 +54,7 @@ |
||
54 | 54 | } |
55 | 55 | |
56 | 56 | #[DataProvider('providerDefaultFieldResolver')] |
57 | - public function testDefaultFieldResolver(mixed $expected, array|object $source, string $fieldName, array $args = []): void |
|
57 | + public function testDefaultFieldResolver(mixed $expected, array | object $source, string $fieldName, array $args = []): void |
|
58 | 58 | { |
59 | 59 | $resolver = new DefaultFieldResolver(); |
60 | 60 | $fieldDefinition = new FieldDefinition(['name' => $fieldName, 'type' => Type::boolean()]); |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * - `MyType[]|null` |
50 | 50 | * - `Collection<MyType>` |
51 | 51 | */ |
52 | - final protected function getTypeFromPhpDeclaration(ReflectionClass $class, null|string|Type $typeDeclaration, bool $isEntityId = false): null|Type |
|
52 | + final protected function getTypeFromPhpDeclaration(ReflectionClass $class, null | string | Type $typeDeclaration, bool $isEntityId = false): null | Type |
|
53 | 53 | { |
54 | 54 | if ($typeDeclaration === null || $typeDeclaration instanceof Type) { |
55 | 55 | return $typeDeclaration; |