We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | 'hasRole', |
16 | - fn ($role) => "$this->gqlServices->get('security')->hasRole($role)", |
|
17 | - static fn (array $arguments, $role) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->hasRole($role) |
|
16 | + fn($role) => "$this->gqlServices->get('security')->hasRole($role)", |
|
17 | + static fn(array $arguments, $role) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->hasRole($role) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | $name, |
16 | - fn (string $serviceId) => "$this->gqlServices->get('container')->get($serviceId)", |
|
17 | - static fn (array $arguments, $serviceId) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('container')->get($serviceId) |
|
16 | + fn(string $serviceId) => "$this->gqlServices->get('container')->get($serviceId)", |
|
17 | + static fn(array $arguments, $serviceId) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('container')->get($serviceId) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | $name, |
16 | - fn (string $value) => "$this->gqlServices->get('container')->getParameter($value)", |
|
17 | - static fn (array $arguments, $paramName) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('container')->getParameter($paramName) |
|
16 | + fn(string $value) => "$this->gqlServices->get('container')->getParameter($value)", |
|
17 | + static fn(array $arguments, $paramName) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('container')->getParameter($paramName) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | 'arguments', |
16 | - fn ($mapping, $data) => "$this->gqlServices->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)", |
|
17 | - static fn (array $arguments, $mapping, $data) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info']) |
|
16 | + fn($mapping, $data) => "$this->gqlServices->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)", |
|
17 | + static fn(array $arguments, $mapping, $data) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info']) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -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::GRAPHQL_SERVICES, '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::GRAPHQL_SERVICES, '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::GRAPHQL_SERVICES, 'args', 'context', 'info') |
@@ -81,7 +81,7 @@ |
||
81 | 81 | { |
82 | 82 | return array_reduce( |
83 | 83 | explode('.', $location), |
84 | - fn ($carry, $item) => "{$carry}[$item]" |
|
84 | + fn($carry, $item) => "{$carry}[$item]" |
|
85 | 85 | ); |
86 | 86 | } |
87 | 87 |
@@ -27,6 +27,6 @@ |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | // @phpstan-ignore-next-line |
30 | - return array_map(fn (ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes); |
|
30 | + return array_map(fn(ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes); |
|
31 | 31 | } |
32 | 32 | } |