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 — develop ( e4addc...44f5b4 )
by Baptiste
23:22
created

NullQueue::bind()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
declare(strict_types = 1);
3
4
namespace Innmind\AMQP\Client\Channel\Queue;
5
6
use Innmind\AMQP\{
7
    Client\Channel\Queue as QueueInterface,
8
    Model\Queue\Declaration,
9
    Model\Queue\DeclareOk,
10
    Model\Queue\Deletion,
11
    Model\Queue\DeleteOk,
12
    Model\Queue\Binding,
13
    Model\Queue\Unbinding,
14
    Model\Queue\Purge,
15
    Model\Queue\PurgeOk
16
};
17
18
final class NullQueue implements QueueInterface
19
{
20
    /**
21
     * {@inheritdoc}
22
     */
23 1
    public function declare(Declaration $command): ?DeclareOk
0 ignored issues
show
Coding Style introduced by
Possible parse error: non-abstract method defined as abstract
Loading history...
24
    {
25 1
        return null;
26
    }
27
28 1
    public function delete(Deletion $command): ?DeleteOk
29
    {
30 1
        return null;
31
    }
32
33 1
    public function bind(Binding $command): QueueInterface
34
    {
35 1
        return $this;
36
    }
37
38 1
    public function unbind(Unbinding $command): QueueInterface
39
    {
40 1
        return $this;
41
    }
42
43 1
    public function purge(Purge $command): ?PurgeOk
44
    {
45 1
        return null;
46
    }
47
}
48