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 ( 49088a...a69923 )
by Cees-Jan
08:12 queued 06:45
created

ClientProperties   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 80
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 1
dl 0
loc 80
ccs 0
cts 12
cp 0
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A capabilities() 0 4 1
A product() 0 4 1
A version() 0 4 1
A platform() 0 4 1
A copyright() 0 4 1
A information() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\RabbitMQ\Management\Resource\Connection;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Hydrator\Annotation\Nested;
7
use ApiClients\Foundation\Resource\AbstractResource;
8
9
/**
10
 * @Nested(
11
 *     capabilities="Connection\ClientProperties\Capabilities"
12
 * )
13
 * @EmptyResource("Connection\EmptyClientProperties")
14
 */
15
abstract class ClientProperties extends AbstractResource implements ClientPropertiesInterface
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $product;
21
22
    /**
23
     * @var string
24
     */
25
    protected $version;
26
27
    /**
28
     * @var string
29
     */
30
    protected $platform;
31
32
    /**
33
     * @var string
34
     */
35
    protected $copyright;
36
37
    /**
38
     * @var string
39
     */
40
    protected $information;
41
42
    /**
43
     * @var Connection\ClientProperties\Capabilities
44
     */
45
    protected $capabilities;
46
47
    /**
48
     * @return string
49
     */
50
    public function product(): string
51
    {
52
        return $this->product;
53
    }
54
55
    /**
56
     * @return string
57
     */
58
    public function version(): string
59
    {
60
        return $this->version;
61
    }
62
63
    /**
64
     * @return string
65
     */
66
    public function platform(): string
67
    {
68
        return $this->platform;
69
    }
70
71
    /**
72
     * @return string
73
     */
74
    public function copyright(): string
75
    {
76
        return $this->copyright;
77
    }
78
79
    /**
80
     * @return string
81
     */
82
    public function information(): string
83
    {
84
        return $this->information;
85
    }
86
87
    /**
88
     * @return Connection\ClientProperties\Capabilities
89
     */
90
    public function capabilities(): Connection\ClientProperties\Capabilities
91
    {
92
        return $this->capabilities;
93
    }
94
}
95