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 — master ( cc7f41...e963e5 )
by Vincent
30s queued 13s
created

ExecutorResultEvent::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 2
c 0
b 0
f 0
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
cc 1
nc 1
nop 2
crap 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
{
12
    /** @var ExecutionResult */
13
    private $result;
14
15
    /** @var ExecutorArgumentsEvent */
16
    private $executorArguments;
17
18 104
    public function __construct(ExecutionResult $result, ExecutorArgumentsEvent $executorArguments)
19
    {
20 104
        $this->result = $result;
21 104
        $this->executorArguments = $executorArguments;
22 104
    }
23
24 104
    public function getResult(): ExecutionResult
25
    {
26 104
        return $this->result;
27
    }
28
29 104
    public function getExecutorArguments(): ExecutorArgumentsEvent
30
    {
31 104
        return $this->executorArguments;
32
    }
33
}
34