GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( f79bcb...de7e43 )
by Eric
80:29 queued 77:22
created

AbstractHelper::setEventDispatcher()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
3
/*
4
 * This file is part of the Ivory Google Map package.
5
 *
6
 * (c) Eric GELOEN <[email protected]>
7
 *
8
 * For the full copyright and license information, please read the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Ivory\GoogleMap\Helper;
13
14
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
15
16
/**
17
 * @author GeLo <[email protected]>
18
 */
19
abstract class AbstractHelper
20
{
21
    /**
22
     * @var EventDispatcherInterface
23
     */
24
    private $eventDispatcher;
25
26
    /**
27
     * @param EventDispatcherInterface $eventDispatcher
28
     */
29 276
    public function __construct(EventDispatcherInterface $eventDispatcher)
30
    {
31 276
        $this->setEventDispatcher($eventDispatcher);
32 276
    }
33
34
    /**
35
     * @return EventDispatcherInterface
36
     */
37 264
    public function getEventDispatcher()
38
    {
39 264
        return $this->eventDispatcher;
40
    }
41
42
    /**
43
     * @param EventDispatcherInterface $eventDispatcher
44
     */
45 276
    public function setEventDispatcher($eventDispatcher)
46
    {
47 276
        $this->eventDispatcher = $eventDispatcher;
48 276
    }
49
}
50