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 (#378)
by Jérémiah
14:42
created

TypeLoadedEvent::getType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
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 89
    public function __construct(Type $type)
16
    {
17 89
        $this->type = $type;
18 89
    }
19
20
    public function getType(): Type
21
    {
22
        return $this->type;
23
    }
24
}
25