We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -12,7 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | $name, |
15 | - fn ($alias, $args = '[]') => "$this->globalVars->get('mutationResolver')->resolve([$alias, $args])" |
|
15 | + fn($alias, $args = '[]') => "$this->globalVars->get('mutationResolver')->resolve([$alias, $args])" |
|
16 | 16 | ); |
17 | 17 | } |
18 | 18 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | $name, |
15 | - fn (string $alias, string $args = '[]') => "$this->globalVars->get('resolverResolver')->resolve([$alias, $args])" |
|
15 | + fn(string $alias, string $args = '[]') => "$this->globalVars->get('resolverResolver')->resolve([$alias, $args])" |
|
16 | 16 | ); |
17 | 17 | } |
18 | 18 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'resolveSingleInputCallback', |
17 | - static fn ($resolveSingleInput) => ( |
|
17 | + static fn($resolveSingleInput) => ( |
|
18 | 18 | Closure::new() |
19 | 19 | ->addArgument('value') |
20 | 20 | ->bindVars(TypeGenerator::GLOBAL_VARS, 'args', 'context', 'info') |
@@ -14,7 +14,7 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'idFetcherCallback', |
17 | - static fn ($idFetcher) => ( |
|
17 | + static fn($idFetcher) => ( |
|
18 | 18 | Closure::new() |
19 | 19 | ->addArgument('value') |
20 | 20 | ->bindVars(TypeGenerator::GLOBAL_VARS, 'args', 'context', 'info') |
@@ -14,7 +14,7 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'mutateAndGetPayloadCallback', |
17 | - static fn ($mutateAndGetPayload) => ( |
|
17 | + static fn($mutateAndGetPayload) => ( |
|
18 | 18 | Closure::new() |
19 | 19 | ->addArgument('value') |
20 | 20 | ->bindVars(TypeGenerator::GLOBAL_VARS, 'args', 'context', 'info') |
@@ -14,8 +14,8 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'fromGlobalId', |
17 | - static fn ($globalId) => sprintf('\%s::fromGlobalId(%s)', GlobalIdHelper::class, $globalId), |
|
18 | - static fn ($_, $globalId) => GlobalIdHelper::fromGlobalId($globalId) |
|
17 | + static fn($globalId) => sprintf('\%s::fromGlobalId(%s)', GlobalIdHelper::class, $globalId), |
|
18 | + static fn($_, $globalId) => GlobalIdHelper::fromGlobalId($globalId) |
|
19 | 19 | ); |
20 | 20 | } |
21 | 21 | } |
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | 'isTypeOf', |
15 | - static fn ($className) => "((\$className = $className) && \$value instanceof \$className)", |
|
16 | - static fn ($arguments, $className) => $className && $arguments['parentValue'] instanceof $className |
|
15 | + static fn($className) => "((\$className = $className) && \$value instanceof \$className)", |
|
16 | + static fn($arguments, $className) => $className && $arguments['parentValue'] instanceof $className |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | 'call', |
15 | - fn (string $target, string $args = '[]') => "$target(...$args)", |
|
16 | - fn ($_, callable $target, array $args) => $target(...$args) |
|
15 | + fn(string $target, string $args = '[]') => "$target(...$args)", |
|
16 | + fn($_, callable $target, array $args) => $target(...$args) |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |
@@ -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); |