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 ( 898d2c...c462d0 )
by Eric
24:16 queued 21:28
created

AbstractHelper   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 75%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 31
ccs 6
cts 8
cp 0.75
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A setEventDispatcher() 0 4 1
A getEventDispatcher() 0 4 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 12
    public function __construct(EventDispatcherInterface $eventDispatcher)
30
    {
31 12
        $this->setEventDispatcher($eventDispatcher);
32 12
    }
33
34
    /**
35
     * @return EventDispatcherInterface
36
     */
37
    public function getEventDispatcher()
38
    {
39
        return $this->eventDispatcher;
40
    }
41
42
    /**
43
     * @param EventDispatcherInterface $eventDispatcher
44
     */
45 12
    public function setEventDispatcher($eventDispatcher)
46
    {
47 12
        $this->eventDispatcher = $eventDispatcher;
48 12
    }
49
}
50