We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | public function getBuilder(string $name, ?string $queryAlias, ?string $mutationAlias = null, ?string $subscriptionAlias = null, array $types = []): Closure |
26 | 26 | { |
27 | - return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types): ExtensibleSchema { |
|
27 | + return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types) : ExtensibleSchema { |
|
28 | 28 | static $schema = null; |
29 | 29 | if (null === $schema) { |
30 | 30 | $schema = $this->create($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types); |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * @throws ArgumentsValidationException |
64 | 64 | */ |
65 | - public function validate(string|array|null $groups = null, bool $throw = true): ?ConstraintViolationListInterface |
|
65 | + public function validate(string | array | null $groups = null, bool $throw = true): ?ConstraintViolationListInterface |
|
66 | 66 | { |
67 | 67 | $rootNode = new ValidationNode( |
68 | 68 | $this->info->parentType, |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | return $rootObject; |
207 | 207 | } |
208 | 208 | |
209 | - private static function isListOfType(GeneratedTypeInterface|ListOfType|NonNull $type): bool |
|
209 | + private static function isListOfType(GeneratedTypeInterface | ListOfType | NonNull $type): bool |
|
210 | 210 | { |
211 | 211 | if ($type instanceof ListOfType || ($type instanceof NonNull && $type->getWrappedType() instanceof ListOfType)) { |
212 | 212 | return true; |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | return false; |
216 | 216 | } |
217 | 217 | |
218 | - private function createCollectionNode(array $values, ObjectType|InputObjectType $type, ValidationNode $parent): array |
|
218 | + private function createCollectionNode(array $values, ObjectType | InputObjectType $type, ValidationNode $parent): array |
|
219 | 219 | { |
220 | 220 | $collection = []; |
221 | 221 | |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | return $collection; |
227 | 227 | } |
228 | 228 | |
229 | - private function createObjectNode(array $value, ObjectType|InputObjectType $type, ValidationNode $parent): ValidationNode |
|
229 | + private function createObjectNode(array $value, ObjectType | InputObjectType $type, ValidationNode $parent): ValidationNode |
|
230 | 230 | { |
231 | 231 | /** @phpstan-ignore-next-line */ |
232 | 232 | $classValidation = static::normalizeConfig($type->config['validation'] ?? []); |
@@ -49,7 +49,7 @@ |
||
49 | 49 | private ?ResolverArgs $__resolverArgs; |
50 | 50 | |
51 | 51 | public function __construct( |
52 | - ObjectType|InputObjectType $type, |
|
52 | + ObjectType | InputObjectType $type, |
|
53 | 53 | ?string $field = null, |
54 | 54 | ?ValidationNode $parent = null, |
55 | 55 | ?ResolverArgs $resolverArgs = null |