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 (#682)
by
unknown
06:48
created

Collection::getConverters()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Generator;
6
7
use Murtukov\PHPCodeGenerator\Collection as BaseCollection;
8
use Overblog\GraphQLBundle\Generator\Converter\ExpressionConverter;
9
10
/**
11
 * Extends the default AssocArray to properly convert expressions.
12
 */
13
class Collection extends BaseCollection
14
{
15
    /**
16
     * Mark additional converters to be used by convertion of array values.
17
     */
18 34
    public static function getConverters(): array
19
    {
20 34
        return [ExpressionConverter::class];
21
    }
22
}
23