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 — master (#638)
by Vincent
26:04 queued 01:02
created

ExecutorResultEvent   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 3
eloc 7
c 0
b 0
f 0
dl 0
loc 25
ccs 5
cts 5
cp 1
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getExecutorArguments() 0 3 1
A getResult() 0 3 1
A __construct() 0 4 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 103
    /** @var ExecutorArgumentsEvent */
16
    private $executorArguments;
17 103
18 103
    public function __construct(ExecutionResult $result, ExecutorArgumentsEvent $executorArguments)
19
    {
20
        $this->result = $result;
21
        $this->executorArguments = $executorArguments;
22
    }
23 103
24
    /**
25 103
     * @return ExecutionResult
26
     */
27
    public function getResult(): ExecutionResult
28
    {
29
        return $this->result;
30
    }
31
32
    public function getExecutorArguments(): ExecutorArgumentsEvent
33
    {
34
        return $this->executorArguments;
35
    }
36
}
37