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

Completed
Pull Request — master (#40)
by Jérémiah
13:22
created

ConnectionArgsDefinition   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 1
c 1
b 1
f 0
lcom 0
cbo 0
dl 0
loc 25
ccs 10
cts 10
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A toMappingDefinition() 0 17 1
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\Relay\Connection;
13
14
use GraphQL\Type\Definition\Type;
15
use Overblog\GraphQLBundle\Definition\Builder\MappingInterface;
16
17
class ConnectionArgsDefinition implements MappingInterface
18
{
19
    /**
20
     * @param array $config
21
     *
22
     * @return array
23
     */
24 3
    public function toMappingDefinition(array $config)
25
    {
26
        return [
27
            'after' => [
28 3
                'type' => 'String',
29 3
            ],
30
            'first' => [
31 3
                'type' => 'Int',
32 3
            ],
33
            'before' => [
34 3
                'type' => 'String',
35 3
            ],
36
            'last' => [
37 3
                'type' => 'Int',
38 3
            ],
39 3
        ];
40
    }
41
}
42