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 (#234)
by Jérémiah
04:38
created

ExecutorContextEvent   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 25
ccs 0
cts 12
cp 0
rs 10
c 0
b 0
f 0

3 Methods

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