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 | 'getUser', |
16 | - fn () => "$this->gqlServices->get('security')->getUser()", |
|
17 | - static fn (array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->getUser() |
|
16 | + fn() => "$this->gqlServices->get('security')->getUser()", |
|
17 | + static fn(array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->getUser() |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | 'isGranted', |
16 | - fn ($attributes, $object = 'null') => "$this->gqlServices->get('security')->isGranted($attributes, $object)", |
|
17 | - static fn (array $arguments, $attributes, $object = null) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->isGranted($attributes, $object) |
|
16 | + fn($attributes, $object = 'null') => "$this->gqlServices->get('security')->isGranted($attributes, $object)", |
|
17 | + static fn(array $arguments, $attributes, $object = null) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->isGranted($attributes, $object) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | 'hasPermission', |
16 | - fn ($object, $permission) => "$this->gqlServices->get('security')->hasPermission($object, $permission)", |
|
17 | - static fn (array $arguments, $object, $permission) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->hasPermission($object, $permission) |
|
16 | + fn($object, $permission) => "$this->gqlServices->get('security')->hasPermission($object, $permission)", |
|
17 | + static fn(array $arguments, $object, $permission) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->hasPermission($object, $permission) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | 'isRememberMe', |
16 | - fn () => "$this->gqlServices->get('security')->isRememberMe()", |
|
17 | - static fn (array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->isRememberMe() |
|
16 | + fn() => "$this->gqlServices->get('security')->isRememberMe()", |
|
17 | + static fn(array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->isRememberMe() |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | 'isAuthenticated', |
16 | - fn () => "$this->gqlServices->get('security')->isAuthenticated()", |
|
17 | - static fn (array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->isAuthenticated() |
|
16 | + fn() => "$this->gqlServices->get('security')->isAuthenticated()", |
|
17 | + static fn(array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->isAuthenticated() |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -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 | } |