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 ( 5de759...4f105b )
by Cees-Jan
10:01
created

ReadLogCommand::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ApiClients\Client\Supervisord\CommandBus\Command;
6
7
use WyriHaximus\Tactician\CommandHandler\Annotations\Handler;
8
9
/**
10
 * @Handler("ApiClients\Client\Supervisord\CommandBus\Handler\ReadLogHandler")
11
 */
12
final class ReadLogCommand
13
{
14
    /**
15
     * @var int
16
     */
17
    private $offset;
18
19
    /**
20
     * @var int
21
     */
22
    private $length;
23
24
    /**
25
     * @param int $offset
26
     * @param int $length
27
     */
28
    public function __construct(int $offset, int $length)
29
    {
30
        $this->offset = $offset;
31
        $this->length = $length;
32
    }
33
34
    /**
35
     * @return int
36
     */
37
    public function getOffset(): int
38
    {
39
        return $this->offset;
40
    }
41
42
    /**
43
     * @return int
44
     */
45
    public function getLength(): int
46
    {
47
        return $this->length;
48
    }
49
}
50