Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Passed
Pull Request — master (#234)
by Jérémiah
07:13
created

Resolver::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 6
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 9
ccs 6
cts 6
cp 1
rs 9.6666
c 1
b 0
f 0
cc 1
eloc 5
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL;
4
5
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction;
6
7
final class Resolver extends ExpressionFunction
8
{
9 59
    public function __construct($name = 'resolver')
10
    {
11 59
        parent::__construct(
12 59
            $name,
13 59
            function ($alias, $args = '[]') {
14 17
                return sprintf('$container->get(\'overblog_graphql.resolver_resolver\')->resolve([%s, %s])', $alias, $args);
15 59
            }
16
        );
17
    }
18
}
19