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
47:23 queued 23:20
created

Arg   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 8
c 1
b 0
f 0
dl 0
loc 17
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
    public function __construct(array $config)
21
    {
22
        parent::__construct($config);
23
        $this->hasDefaultValue = array_key_exists('defaultValue', $config);
24
    }
25
}
26