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 ( 4f765f...c28567 )
by Cees-Jan
13s
created

LogCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 24
ccs 0
cts 8
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getId() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\AppVeyor\CommandBus\Command\Project\Build\Job;
4
5
use WyriHaximus\Tactician\CommandHandler\Annotations\Handler;
6
7
/**
8
 * @Handler("ApiClients\Client\AppVeyor\CommandBus\Handler\Project\Build\Job\LogHandler")
9
 */
10
final class LogCommand
11
{
12
    /**
13
     * @var string
14
     */
15
    private $id;
16
17
    /**
18
     * LogCommand constructor.
19
     * @param string $id
20
     */
21
    public function __construct($id)
22
    {
23
        $this->id = $id;
24
    }
25
26
    /**
27
     * @return string
28
     */
29
    public function getId(): string
30
    {
31
        return $this->id;
32
    }
33
}
34