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
Push — annotations ( bee78b...707295 )
by Jérémiah
19:51 queued 15:21
created

TypeLoadedEvent   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 24
ccs 8
cts 8
cp 1
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getType() 0 4 1
A getSchemaName() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Event;
6
7
use GraphQL\Type\Definition\Type;
8
use Symfony\Component\EventDispatcher\Event;
9
10
final class TypeLoadedEvent extends Event
11
{
12
    /** @var Type */
13
    private $type;
14
15
    /** @var string */
16
    private $schemaName;
17
18 89
    public function __construct(Type $type, ?string $schemaName)
19
    {
20 89
        $this->type = $type;
21 89
        $this->schemaName = $schemaName;
22 89
    }
23
24 6
    public function getType(): Type
25
    {
26 6
        return $this->type;
27
    }
28
29 89
    public function getSchemaName(): ?string
30
    {
31 89
        return $this->schemaName;
32
    }
33
}
34