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.
Failure conditions met
Pushb8268a...b3fdf9
failed — Build
created

TaggedListener::handle()   A

↳ Parent: TaggedListener

Complexity

Conditions 1
Paths 1

Duplication

Lines 0
Ratio 0 %

Size

Total Lines 4
Code Lines 2

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
3
/*
4
 * This file is part of Rocketeer
5
 *
6
 * (c) Maxime Fabre <ehtnam6@gmail.com>
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
13
namespace Rocketeer\Services\Events\Listeners;
14
15
use League\Event\EventInterface;
16
use League\Event\ListenerInterface;
17
18
/**
19
 * A listener that can be assigned
20
 * a particular tag.
21
 */
22
class TaggedListener implements TaggableListenerInterface
23
{
24
    use TaggableListenerTrait;
25
26
    /**
27
     * @var ListenerInterface
28
     */
29
    protected $listener;
30
31
    /**
32
     * @param ListenerInterface $listener
33
     */
34 6
    public function __construct(ListenerInterface $listener)
35
    {
36 6
        $this->listener = $listener;
37 6
    }
38
39
    /**
40
     * {@inheritdoc}
41
     */
42 6
    public function handle(EventInterface $event)
43
    {
44 6
        return $this->listener->handle($event);
45
    }
46
47
    /**
48
     * {@inheritdoc}
49
     */
50
    public function isListener($listener)
51
    {
52
        return $this->listener->isListener($listener);
53
    }
54
}
55