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   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 8
c 1
b 0
f 0
dl 0
loc 17
ccs 3
cts 3
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
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