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
Pull Request — master (#158)
by Bernardo Vieira da
12:24
created

AbstractGearmanCommand::setKernel()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 1
1
<?php
2
3
/**
4
 * Gearman Bundle for Symfony2
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 *
9
 * Feel free to edit as you please, and have fun.
10
 *
11
 * @author Marc Morera <[email protected]>
12
 */
13
14
namespace Mmoreram\GearmanBundle\Command\Abstracts;
15
16
use Symfony\Component\Console\Command\Command;
17
use Symfony\Component\HttpKernel\KernelInterface;
18
19
/**
20
 * Class AbstractGearmanCommand
21
 *
22
 * @since 2.3.1
23
 */
24
abstract class AbstractGearmanCommand extends Command
25
{
26
    /**
27
     * @var KernelInterface
28
     *
29
     * Kernel
30
     */
31
    protected $kernel;
32
33
    /**
34
     * Set kernel
35
     *
36
     * @param KernelInterface $kernel Kernel
37
     *
38
     * @return AbstractGearmanCommand self Object
39
     */
40 24
    public function setKernel(KernelInterface $kernel)
41
    {
42 24
        $this->kernel = $kernel;
43
44 24
        return $this;
45
    }
46
}
47