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.

Birthday::setMeeting()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
/*
3
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
5
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
6
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
7
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
8
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9
 */
10
11
namespace MpaCustomDoctrineHydratorTest\Assets\Entity;
12
13
use Doctrine\ORM\Mapping as ORM;
14
15
/**
16
 * @ORM\Entity
17
 */
18
class Birthday
19
{
20
    /**
21
     * @ORM\Id
22
     * @ORM\GeneratedValue(strategy="CUSTOM")
23
     * @ORM\CustomIdGenerator(class="MpaCustomDoctrineHydratorTest\Assets\Entity\CustomGenerator")
24
     * @ORM\Column(type="integer")
25
     */
26
    protected $identifier;
27
28
    /**
29
     * @var \DateTime
30
     *
31
     * @ORM\Column(type="date", nullable=false)
32
     */
33
    protected $date;
34
35
    /**
36
     * @var \DateTime
37
     *
38
     * @ORM\Column(type="datetimetz", nullable=false)
39
     */
40
    protected $datetimetz;
41
42
    /**
43
     * @var \DateTime
44
     *
45
     * @ORM\Column(type="datetime", nullable=false)
46
     */
47
    protected $meeting;
48
49
    /**
50
     * @var \DateTime
51
     *
52
     * @ORM\Column(type="time", nullable=false)
53
     */
54
    protected $time;
55
56
    /**
57
     * @var string
58
     *
59
     * @ORM\Column(type="string", nullable=true, length=23)
60
     */
61
    protected $name;
62
63
    /**
64
     * @var int
65
     *
66
     * @ORM\Column(type="integer", nullable=true)
67
     */
68
    protected $age;
69
70
    /**
71
     * @var int
72
     *
73
     * @ORM\Column(type="bool", nullable=true)
74
     */
75
    protected $canDrinkMojito;
76
77
    /**
78
     * @var int
79
     *
80
     * @ORM\Column(type="float", nullable=true)
81
     */
82
    protected $weight;
83
84
    /**
85
     * @param  int $age
86
     * @return self
87
     */
88
    public function setAge($age)
89
    {
90
        $this->age = $age;
91
92
        return $this;
93
    }
94
95
    /**
96
     * @return int
97
     */
98
    public function getAge()
99
    {
100
        return $this->age;
101
    }
102
103
    /**
104
     * @param  int $canDrinkMojito
105
     * @return self
106
     */
107
    public function setCanDrinkMojito($canDrinkMojito)
108
    {
109
        $this->canDrinkMojito = $canDrinkMojito;
110
111
        return $this;
112
    }
113
114
    /**
115
     * @return int
116
     */
117
    public function getCanDrinkMojito()
118
    {
119
        return $this->canDrinkMojito;
120
    }
121
122
    /**
123
     * @param  \DateTime $date
124
     * @return self
125
     */
126
    public function setDate($date)
127
    {
128
        $this->date = $date;
129
130
        return $this;
131
    }
132
133
    /**
134
     * @return \DateTime
135
     */
136
    public function getDate()
137
    {
138
        return $this->date;
139
    }
140
141
    /**
142
     * @return \DateTime
143
     */
144
    public function getDatetimetz()
145
    {
146
        return $this->datetimetz;
147
    }
148
149
    /**
150
     * @param  \DateTime $datetimetz
151
     * @return self
152
     */
153
    public function setDatetimetz($datetimetz)
154
    {
155
        $this->datetimetz = $datetimetz;
156
157
        return $this;
158
    }
159
160
    /**
161
     * @param  mixed $identifier
162
     * @return self
163
     */
164
    public function setIdentifier($identifier)
165
    {
166
        $this->identifier = $identifier;
167
168
        return $this;
169
    }
170
171
    /**
172
     * @return mixed
173
     */
174
    public function getIdentifier()
175
    {
176
        return $this->identifier;
177
    }
178
179
    /**
180
     * @param  string $name
181
     * @return self
182
     */
183
    public function setName($name)
184
    {
185
        $this->name = $name;
186
187
        return $this;
188
    }
189
190
    /**
191
     * @return string
192
     */
193
    public function getName()
194
    {
195
        return $this->name;
196
    }
197
198
    /**
199
     * @param  \DateTime $time
200
     * @return self
201
     */
202
    public function setTime($time)
203
    {
204
        $this->time = $time;
205
206
        return $this;
207
    }
208
209
    /**
210
     * @return \DateTime
211
     */
212
    public function getTime()
213
    {
214
        return $this->time;
215
    }
216
217
    /**
218
     * @param  int $weight
219
     * @return self
220
     */
221
    public function setWeight($weight)
222
    {
223
        $this->weight = $weight;
224
225
        return $this;
226
    }
227
228
    /**
229
     * @return int
230
     */
231
    public function getWeight()
232
    {
233
        return $this->weight;
234
    }
235
236
    /**
237
     * @return \DateTime
238
     */
239
    public function getMeeting()
240
    {
241
        return $this->meeting;
242
    }
243
244
    /**
245
     * @param  \DateTime $meeting
246
     * @return self
247
     */
248
    public function setMeeting($meeting)
249
    {
250
        $this->meeting = $meeting;
251
252
        return $this;
253
    }
254
}
255