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.

Overview::managementVersion()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

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
nc 1
nop 0
crap 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\RabbitMQ\Management\Resource;
4
5
use ApiClients\Foundation\Hydrator\Annotation\Collection;
6
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
7
use ApiClients\Foundation\Hydrator\Annotation\Nested;
8
use ApiClients\Foundation\Resource\AbstractResource;
9
10
/**
11
 * @Collection(
12
 *     exchange_types="Overview\ExchangeType",
13
 *     listeners="Overview\Listener",
14
 *     contexts="Overview\Context"
15
 * )
16
 * @Nested(
17
 *     message_stats="MessageStats",
18
 *     queue_totals="Overview\QueueTotals",
19
 *     object_totals="Overview\ObjectTotals"
20
 * )
21
 * @EmptyResource("EmptyOverview")
22
 */
23
abstract class Overview extends AbstractResource implements OverviewInterface
24
{
25
    /**
26
     * @var string
27
     */
28
    protected $management_version;
29
30
    /**
31
     * @var string
32
     */
33
    protected $rates_mode;
34
35
    /**
36
     * @var array
37
     */
38
    protected $exchange_types;
39
40
    /**
41
     * @var string
42
     */
43
    protected $rabbitmq_version;
44
45
    /**
46
     * @var string
47
     */
48
    protected $cluster_name;
49
50
    /**
51
     * @var string
52
     */
53
    protected $erlang_version;
54
55
    /**
56
     * @var string
57
     */
58
    protected $erlang_full_version;
59
60
    /**
61
     * @var MessageStats
62
     */
63
    protected $message_stats;
64
65
    /**
66
     * @var Overview\QueueTotals
67
     */
68
    protected $queue_totals;
69
70
    /**
71
     * @var Overview\ObjectTotals
72
     */
73
    protected $object_totals;
74
75
    /**
76
     * @var int
77
     */
78
    protected $statistics_db_event_queue;
79
80
    /**
81
     * @var string
82
     */
83
    protected $node;
84
85
    /**
86
     * @var string
87
     */
88
    protected $statistics_db_node;
89
90
    /**
91
     * @var array
92
     */
93
    protected $listeners;
94
95
    /**
96
     * @var array
97
     */
98
    protected $contexts;
99
100
    /**
101
     * @return string
102
     */
103 4
    public function managementVersion(): string
104
    {
105 4
        return $this->management_version;
106
    }
107
108
    /**
109
     * @return string
110
     */
111 4
    public function ratesMode(): string
112
    {
113 4
        return $this->rates_mode;
114
    }
115
116
    /**
117
     * @return array
118
     */
119
    public function exchangeTypes(): array
120
    {
121
        return $this->exchange_types;
122
    }
123
124
    /**
125
     * @return string
126
     */
127 4
    public function rabbitmqVersion(): string
128
    {
129 4
        return $this->rabbitmq_version;
130
    }
131
132
    /**
133
     * @return string
134
     */
135 4
    public function clusterName(): string
136
    {
137 4
        return $this->cluster_name;
138
    }
139
140
    /**
141
     * @return string
142
     */
143 4
    public function erlangVersion(): string
144
    {
145 4
        return $this->erlang_version;
146
    }
147
148
    /**
149
     * @return string
150
     */
151 4
    public function erlangFullVersion(): string
152
    {
153 4
        return $this->erlang_full_version;
154
    }
155
156
    /**
157
     * @return MessageStats
158
     */
159
    public function messageStats(): MessageStats
160
    {
161
        return $this->message_stats;
162
    }
163
164
    /**
165
     * @return Overview\QueueTotals
166
     */
167
    public function queueTotals(): Overview\QueueTotals
168
    {
169
        return $this->queue_totals;
170
    }
171
172
    /**
173
     * @return Overview\ObjectTotals
174
     */
175
    public function objectTotals(): Overview\ObjectTotals
176
    {
177
        return $this->object_totals;
178
    }
179
180
    /**
181
     * @return int
182
     */
183 4
    public function statisticsDbEventQueue(): int
184
    {
185 4
        return $this->statistics_db_event_queue;
186
    }
187
188
    /**
189
     * @return string
190
     */
191 4
    public function node(): string
192
    {
193 4
        return $this->node;
194
    }
195
196
    /**
197
     * @return string
198
     */
199 4
    public function statisticsDbNode(): string
200
    {
201 4
        return $this->statistics_db_node;
202
    }
203
204
    /**
205
     * @return array
206
     */
207
    public function listeners(): array
208
    {
209
        return $this->listeners;
210
    }
211
212
    /**
213
     * @return array
214
     */
215
    public function contexts(): array
216
    {
217
        return $this->contexts;
218
    }
219
}
220