We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -318,12 +318,12 @@ |
||
318 | 318 | } |
319 | 319 | |
320 | 320 | if (!empty($c->interfaces)) { |
321 | - $items = array_map(fn ($type) => "$this->gqlServices->getType('$type')", $c->interfaces); |
|
321 | + $items = array_map(fn($type) => "$this->gqlServices->getType('$type')", $c->interfaces); |
|
322 | 322 | $configLoader->addItem('interfaces', ArrowFunction::new(Collection::numeric($items, true))); |
323 | 323 | } |
324 | 324 | |
325 | 325 | if (!empty($c->types)) { |
326 | - $items = array_map(fn ($type) => "$this->gqlServices->getType('$type')", $c->types); |
|
326 | + $items = array_map(fn($type) => "$this->gqlServices->getType('$type')", $c->types); |
|
327 | 327 | $configLoader->addItem('types', ArrowFunction::new(Collection::numeric($items, true))); |
328 | 328 | } |
329 | 329 |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | 'hasAnyPermission', |
16 | - fn ($object, $permissions) => "$this->gqlServices->get('security')->hasAnyPermission($object, $permissions)", |
|
17 | - static fn (array $arguments, $object, $permissions) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->hasAnyPermission($object, $permissions) |
|
16 | + fn($object, $permissions) => "$this->gqlServices->get('security')->hasAnyPermission($object, $permissions)", |
|
17 | + static fn(array $arguments, $object, $permissions) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->hasAnyPermission($object, $permissions) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | 'hasAnyRole', |
16 | - fn ($roles) => "$this->gqlServices->get('security')->hasAnyRole($roles)", |
|
17 | - static fn (array $arguments, $roles) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->hasAnyRole($roles) |
|
16 | + fn($roles) => "$this->gqlServices->get('security')->hasAnyRole($roles)", |
|
17 | + static fn(array $arguments, $roles) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->hasAnyRole($roles) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | 'isAnonymous', |
16 | - fn () => "$this->gqlServices->get('security')->isAnonymous()", |
|
17 | - static fn (array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->isAnonymous() |
|
16 | + fn() => "$this->gqlServices->get('security')->isAnonymous()", |
|
17 | + static fn(array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->isAnonymous() |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | 'isFullyAuthenticated', |
16 | - fn () => "$this->gqlServices->get('security')->isFullyAuthenticated()", |
|
17 | - fn (array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->isFullyAuthenticated() |
|
16 | + fn() => "$this->gqlServices->get('security')->isFullyAuthenticated()", |
|
17 | + fn(array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('security')->isFullyAuthenticated() |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -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 | } |