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
Pull Request — 0.13 (#742)
by Vincent
08:42
created

ExecutorResultEvent   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Test Coverage

Coverage 33.33%

Importance

Changes 0
Metric Value
wmc 2
eloc 4
dl 0
loc 16
ccs 1
cts 3
cp 0.3333
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getResult() 0 3 1
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Event;
6
7
use GraphQL\Executor\ExecutionResult;
8
use Symfony\Contracts\EventDispatcher\Event;
9
10
final class ExecutorResultEvent extends Event
11 1
{
12
    /** @var ExecutionResult */
13
    private $result;
14
15
    public function __construct(ExecutionResult $result)
16
    {
17
        $this->result = $result;
18
    }
19
20
    /**
21
     * @return ExecutionResult
22
     */
23
    public function getResult(): ExecutionResult
24
    {
25
        return $this->result;
26
    }
27
}
28