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::getSchemaName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 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