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.

IBeacon::uuid()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace Speicher210\Estimote\Model\Device\Settings\Advertisers;
6
7
use JMS\Serializer\Annotation as JMS;
8
9
final class IBeacon
10
{
11
    /**
12
     * @var int
13
     *
14
     * @JMS\Type("integer")
15
     * @JMS\SerializedName("index")
16
     */
17
    private $index;
18
19
    /**
20
     * @var string
21
     *
22
     * @JMS\Type("string")
23
     * @JMS\SerializedName("name")
24
     */
25
    private $name;
26
27
    /**
28
     * @var bool
29
     *
30
     * @JMS\Type("boolean")
31
     * @JMS\SerializedName("enabled")
32
     */
33
    private $enabled;
34
35
    /**
36
     * @var string
37
     *
38
     * @JMS\Type("string")
39
     * @JMS\SerializedName("uuid")
40
     */
41
    private $uuid;
42
43
    /**
44
     * @var integer
45
     *
46
     * @JMS\Type("integer")
47
     * @JMS\SerializedName("major")
48
     */
49
    private $major;
50
51
    /**
52
     * @var integer
53
     *
54
     * @JMS\Type("integer")
55
     * @JMS\SerializedName("minor")
56
     */
57
    private $minor;
58
59
    /**
60
     * @var integer
61
     *
62
     * @JMS\Type("integer")
63
     * @JMS\SerializedName("power")
64
     */
65
    private $power;
66
67
    /**
68
     * Broadcasting interval.
69
     *
70
     * @var integer
71
     *
72
     * @JMS\Type("integer")
73
     * @JMS\SerializedName("interval")
74
     */
75
    private $interval;
76
77
    /**
78
     * @var bool
79
     *
80
     * @JMS\Type("boolean")
81
     * @JMS\SerializedName("non_strict_mode_enabled")
82
     */
83
    private $nonStrictModeEnabled;
84
85
    public function __construct(
86
        int $index,
87
        string $name,
88
        bool $enabled,
89
        string $uuid,
90
        int $major,
91
        int $minor,
92
        int $power,
93
        int $interval,
94
        bool $nonStrictModeEnabled
95
    ) {
96
        $this->index = $index;
97
        $this->name = $name;
98
        $this->enabled = $enabled;
99
        $this->uuid = $uuid;
100
        $this->major = $major;
101
        $this->minor = $minor;
102
        $this->power = $power;
103
        $this->interval = $interval;
104
        $this->nonStrictModeEnabled = $nonStrictModeEnabled;
105
    }
106
107
    public function index(): int
108
    {
109
        return $this->index;
110
    }
111
112
    public function name(): string
113
    {
114
        return $this->name;
115
    }
116
117
    public function isEnabled(): bool
118
    {
119
        return $this->enabled;
120
    }
121
122
    public function uuid(): string
123
    {
124
        return $this->uuid;
125
    }
126
127
    public function major(): int
128
    {
129
        return $this->major;
130
    }
131
132
    public function minor(): int
133
    {
134
        return $this->minor;
135
    }
136
137
    public function power(): int
138
    {
139
        return $this->power;
140
    }
141
142
    public function interval(): int
143
    {
144
        return $this->interval;
145
    }
146
147
    public function nonStrictModeEnabled(): bool
148
    {
149
        return $this->nonStrictModeEnabled;
150
    }
151
}
152