We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | parent::__construct( |
21 | 21 | $name, |
22 | - function () { |
|
22 | + function() { |
|
23 | 23 | return '$container->get(\'security.authorization_checker\')->isGranted(\'IS_AUTHENTICATED_REMEMBERED\') || $container->get(\'security.authorization_checker\')->isGranted(\'IS_AUTHENTICATED_FULLY\')'; |
24 | 24 | } |
25 | 25 | ); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | parent::__construct( |
21 | 21 | $name, |
22 | - function () { |
|
22 | + function() { |
|
23 | 23 | return '$container->get(\'security.authorization_checker\')->isGranted(\'IS_AUTHENTICATED_REMEMBERED\')'; |
24 | 24 | } |
25 | 25 | ); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | parent::__construct( |
21 | 21 | $name, |
22 | - function () { |
|
22 | + function() { |
|
23 | 23 | return '$container->get(\'security.authorization_checker\')->isGranted(\'IS_AUTHENTICATED_ANONYMOUSLY\')'; |
24 | 24 | } |
25 | 25 | ); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | parent::__construct( |
21 | 21 | $name, |
22 | - function ($className, $args = '[]') { |
|
22 | + function($className, $args = '[]') { |
|
23 | 23 | return sprintf('(new \ReflectionClass(%s))->newInstanceArgs(%s)', $className, $args); |
24 | 24 | } |
25 | 25 | ); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | parent::__construct( |
21 | 21 | $name, |
22 | - function ($value) { |
|
22 | + function($value) { |
|
23 | 23 | return sprintf('$container->get(%s)', $value); |
24 | 24 | } |
25 | 25 | ); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | parent::__construct( |
21 | 21 | $name, |
22 | - function ($value) { |
|
22 | + function($value) { |
|
23 | 23 | return sprintf('$container->getParameter(%s)', $value); |
24 | 24 | } |
25 | 25 | ); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | parent::__construct( |
21 | 21 | $name, |
22 | - function ($alias, $args = '[]') { |
|
22 | + function($alias, $args = '[]') { |
|
23 | 23 | return sprintf('$container->get(\'overblog_graphql.mutation_resolver\')->resolve([%s, %s])', $alias, $args); |
24 | 24 | } |
25 | 25 | ); |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | parent::__construct( |
22 | 22 | $name, |
23 | - function ($mutateAndGetPayload) { |
|
23 | + function($mutateAndGetPayload) { |
|
24 | 24 | $code = 'function ($value) use ('.TypeGenerator::USE_FOR_CLOSURES.', $args, $context, $info) { '; |
25 | 25 | $code .= 'return '.$mutateAndGetPayload.'; }'; |
26 | 26 |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | parent::__construct( |
21 | 21 | $name, |
22 | - function ($globalId) { |
|
22 | + function($globalId) { |
|
23 | 23 | return sprintf( |
24 | 24 | '%s::fromGlobalId(%s)', |
25 | 25 | \Overblog\GraphQLBundle\Relay\Node\GlobalId::class, |