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 — 0.14 (#851)
by Jérémiah
08:23
created

Arg::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
ccs 3
cts 3
cp 1
crap 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Generator\Config;
6
7
final class Arg extends AbstractConfig
8
{
9
    public string $type;
10
    public ?string $description = null;
11
    public ?Validation $validation = null;
12
13
    /**
14
     * @var mixed
15
     */
16
    public $defaultValue;
17
18
    public bool $hasDefaultValue;
19
20 29
    public function __construct(array $config)
21
    {
22 29
        parent::__construct($config);
23 29
        $this->hasDefaultValue = array_key_exists('defaultValue', $config);
24 29
    }
25
}
26