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
Push — 0.9 ( 2956c5...2e758e )
by Jérémiah
06:48
created

PluralResolver::__invoke()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
nc 1
nop 2
dl 0
loc 9
rs 9.6666
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of the OverblogGraphQLBundle package.
5
 *
6
 * (c) Overblog <http://github.com/overblog/>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Overblog\GraphQLBundle\Tests\Functional\App\Resolver;
13
14
use GraphQL\Type\Definition\ResolveInfo;
15
16
class PluralResolver
17
{
18
    public function __invoke($username, ResolveInfo $info)
19
    {
20
        $lang = $info->rootValue['lang'];
21
22
        return [
23
            'username' => $username,
24
            'url' => sprintf('www.facebook.com/%s?lang=%s', $username, $lang),
25
        ];
26
    }
27
}
28