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 | 'arguments', |
16 | - fn ($mapping, $data) => "$this->gqlServices->get('service_container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)", |
|
17 | - static fn (array $arguments, $mapping, $data) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('service_container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info']) |
|
16 | + fn($mapping, $data) => "$this->gqlServices->get('service_container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)", |
|
17 | + static fn(array $arguments, $mapping, $data) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('service_container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info']) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -14,8 +14,8 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'isFullyAuthenticated', |
17 | - fn () => "$this->gqlServices->get('".Security::class.'\')->isFullyAuthenticated()', |
|
18 | - fn (array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->isFullyAuthenticated() |
|
17 | + fn() => "$this->gqlServices->get('".Security::class.'\')->isFullyAuthenticated()', |
|
18 | + fn(array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->isFullyAuthenticated() |
|
19 | 19 | ); |
20 | 20 | } |
21 | 21 | } |
@@ -14,8 +14,8 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'hasPermission', |
17 | - fn ($object, $permission) => "$this->gqlServices->get('".Security::class."')->hasPermission($object, $permission)", |
|
18 | - static fn (array $arguments, $object, $permission) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasPermission($object, $permission) |
|
17 | + fn($object, $permission) => "$this->gqlServices->get('".Security::class."')->hasPermission($object, $permission)", |
|
18 | + static fn(array $arguments, $object, $permission) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasPermission($object, $permission) |
|
19 | 19 | ); |
20 | 20 | } |
21 | 21 | } |
@@ -14,8 +14,8 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'isAuthenticated', |
17 | - fn () => "$this->gqlServices->get('".Security::class.'\')->isAuthenticated()', |
|
18 | - static fn (array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->isAuthenticated() |
|
17 | + fn() => "$this->gqlServices->get('".Security::class.'\')->isAuthenticated()', |
|
18 | + static fn(array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->isAuthenticated() |
|
19 | 19 | ); |
20 | 20 | } |
21 | 21 | } |
@@ -14,8 +14,8 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'hasAnyRole', |
17 | - fn ($roles) => "$this->gqlServices->get('".Security::class."')->hasAnyRole($roles)", |
|
18 | - static fn (array $arguments, $roles) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasAnyRole($roles) |
|
17 | + fn($roles) => "$this->gqlServices->get('".Security::class."')->hasAnyRole($roles)", |
|
18 | + static fn(array $arguments, $roles) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasAnyRole($roles) |
|
19 | 19 | ); |
20 | 20 | } |
21 | 21 | } |
@@ -14,8 +14,8 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'hasAnyPermission', |
17 | - fn ($object, $permissions) => "$this->gqlServices->get('".Security::class."')->hasAnyPermission($object, $permissions)", |
|
18 | - static fn (array $arguments, $object, $permissions) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasAnyPermission($object, $permissions) |
|
17 | + fn($object, $permissions) => "$this->gqlServices->get('".Security::class."')->hasAnyPermission($object, $permissions)", |
|
18 | + static fn(array $arguments, $object, $permissions) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasAnyPermission($object, $permissions) |
|
19 | 19 | ); |
20 | 20 | } |
21 | 21 | } |
@@ -14,8 +14,8 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'isGranted', |
17 | - fn ($attributes, $object = 'null') => "$this->gqlServices->get('".Security::class."')->isGranted($attributes, $object)", |
|
18 | - static fn (array $arguments, $attributes, $object = null) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->isGranted($attributes, $object) |
|
17 | + fn($attributes, $object = 'null') => "$this->gqlServices->get('".Security::class."')->isGranted($attributes, $object)", |
|
18 | + static fn(array $arguments, $attributes, $object = null) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->isGranted($attributes, $object) |
|
19 | 19 | ); |
20 | 20 | } |
21 | 21 | } |
@@ -14,8 +14,8 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'hasRole', |
17 | - fn ($role) => "$this->gqlServices->get('".Security::class."')->hasRole($role)", |
|
18 | - static fn (array $arguments, $role) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasRole($role) |
|
17 | + fn($role) => "$this->gqlServices->get('".Security::class."')->hasRole($role)", |
|
18 | + static fn(array $arguments, $role) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasRole($role) |
|
19 | 19 | ); |
20 | 20 | } |
21 | 21 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | $name, |
16 | - fn (string $value) => "$this->gqlServices->get('service_container')->getParameter($value)", |
|
17 | - static fn (array $arguments, $paramName) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('service_container')->getParameter($paramName) |
|
16 | + fn(string $value) => "$this->gqlServices->get('service_container')->getParameter($value)", |
|
17 | + static fn(array $arguments, $paramName) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('service_container')->getParameter($paramName) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |