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 ( 638f88...e189ab )
by Baptiste
01:40
created

Reader::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 8
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 9
ccs 8
cts 8
cp 1
rs 9.6666
c 0
b 0
f 0
cc 1
eloc 7
nc 1
nop 0
crap 1
1
<?php
2
declare(strict_types = 1);
3
4
namespace Innmind\AMQP\Transport\Protocol\v091;
5
6
use Innmind\AMQP\Transport\{
7
    Frame\Method,
8
    Protocol\v091\Reader\Connection,
9
    Protocol\v091\Reader\Channel,
10
    Protocol\v091\Reader\Exchange,
11
    Protocol\v091\Reader\Queue,
12
    Protocol\v091\Reader\Basic,
13
    Protocol\v091\Reader\Transaction
14
};
15
use Innmind\Immutable\{
16
    Str,
17
    StreamInterface
18
};
19
20
final class Reader
21
{
22
    private $connection;
23
    private $channel;
24
    private $exchange;
25
    private $queue;
26
    private $basic;
27
    private $tx;
28
29 29
    public function __construct()
30
    {
31 29
        $this->connection = new Connection;
32 29
        $this->channel = new Channel;
33 29
        $this->exchange = new Exchange;
34 29
        $this->queue = new Queue;
35 29
        $this->basic = new Basic;
36 29
        $this->tx = new Transaction;
37 29
    }
38
39
    /**
40
     * @return StreamInterface<Value>
0 ignored issues
show
Documentation introduced by
The doc-type StreamInterface<Value> could not be parsed: Expected "|" or "end of type", but got "<" at position 15. (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
41
     */
42 29
    public function __invoke(Method $method, Str $arguments): StreamInterface
43
    {
44 29
        return ($this->{Methods::class($method)})($method, $arguments);
45
    }
46
}
47