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 (#208)
by Renato
07:25
created

ExecutorContextEvent::setExecutorContext()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
3
/*
4
 * This file is part of the OverblogGraphQLBundle package.
5
 *
6
 * (c) Overblog <http://github.com/overblog/>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Overblog\GraphQLBundle\Event;
13
14
use Symfony\Component\EventDispatcher\Event;
15
16
class ExecutorContextEvent extends Event
17
{
18
    private $executorContext = [];
19
20 32
    public function __construct(array $executorContext)
21
    {
22 32
        $this->executorContext = $executorContext;
23 32
    }
24
25
    /**
26
     * @return array
27
     */
28 32
    public function getExecutorContext()
29
    {
30 32
        return $this->executorContext;
31
    }
32
33
    /**
34
     * @param array $executionContext
35
     */
36
    public function setExecutorContext(array $executionContext)
37
    {
38
        $this->executorContext = $executionContext;
39
    }
40
}
41