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 (#4)
by Jérémiah
06:39
created

ForwardConnectionArgs   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A toArgsDefinition() 0 11 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\ArgsInterface;
16
17
class ForwardConnectionArgs implements ArgsInterface
18
{
19
    /**
20
     * @param array $config
21
     *
22
     * @return array
23
     */
24
    public function toArgsDefinition(array $config)
25
    {
26
        return [
27
            'after' => [
28
                'type' => Type::string(),
29
            ],
30
            'first' => [
31
                'type' => Type::int(),
32
            ],
33
        ];
34
    }
35
}
36