We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | |
| 85 | 85 | $resolverDefinition->addMethodCall( |
| 86 | 86 | 'addSolution', |
| 87 | - [$name, [new Reference('service_container'), 'get'], [$solutionID], $cleanOptions] |
|
| 87 | + [$name, [new Reference('service_container'), 'get'], [$solutionID], $cleanOptions] |
|
| 88 | 88 | ); |
| 89 | 89 | } |
| 90 | 90 | } |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Overblog\GraphQLBundle\DependencyInjection\Compiler; |
| 4 | 4 | |
| 5 | -use GraphQL\Type\Definition\Type; |
|
| 6 | 5 | use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; |
| 7 | 6 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
| 8 | 7 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | protected function getResolverSolutionsMapping() |
| 17 | 17 | { |
| 18 | 18 | return [ |
| 19 | - 'Toto' => ['solutionFunc' => [$this, 'createToto'], 'solutionFuncArgs' => [], 'method' => 'resolve'], |
|
| 19 | + 'Toto' => ['solutionFunc' => [$this, 'createToto'], 'solutionFuncArgs' => [], 'method' => 'resolve'], |
|
| 20 | 20 | ]; |
| 21 | 21 | } |
| 22 | 22 | |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | public function process(ContainerBuilder $container) |
| 27 | 27 | { |
| 28 | 28 | version_compare(Kernel::VERSION, '3.3.0', '>=') ? |
| 29 | - $container->setAlias(PromiseAdapter::class, 'overblog_graphql.promise_adapter') : |
|
| 30 | - $container->findDefinition('overblog_graphql.promise_adapter')->setAutowiringTypes([PromiseAdapter::class]) |
|
| 29 | + $container->setAlias(PromiseAdapter::class, 'overblog_graphql.promise_adapter') : $container->findDefinition('overblog_graphql.promise_adapter')->setAutowiringTypes([PromiseAdapter::class]) |
|
| 31 | 30 | ; |
| 32 | 31 | } |
| 33 | 32 | } |