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
05:07
created

RawIdField::toMappingDefinition()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 5
nc 1
nop 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\Tests\DependencyInjection\Builder;
13
14
use Overblog\GraphQLBundle\Definition\Builder\MappingInterface;
15
16
class RawIdField implements MappingInterface
17
{
18
    public function toMappingDefinition(array $config)
19
    {
20
        return [
21
            'description' => 'The raw ID of an object',
22
            'type' => 'Int!',
23
            'resolve' => '@=value.id',
24
        ];
25
    }
26
}
27