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 (#325)
by Jérémiah
13:59
created

ExecutorContextEvent   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 60%

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 21
ccs 3
cts 5
cp 0.6
rs 10

2 Methods

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