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 (#275)
by Hugo
15:12
created

ExecutorResultEvent   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 18
ccs 5
cts 5
cp 1
rs 10

2 Methods

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