Test Setup Failed
Branch master (fdf600)
by Vragov
04:41
created

F103::setDate()   A

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 1
1
<?php
2
3
namespace PimpayBundle\Model;
4
5
/**
6
 * Class F103
7
 * @package PimpayBundle\Model
8
 */
9
class F103
10
{
11
    /**
12
     * @var int
13
     */
14
    private $number;
15
16
    /**
17
     * @var \DateTime
18
     */
19
    private $date;
20
21
    /**
22
     * @return int
23
     */
24
    public function getNumber(): int
25
    {
26
        return $this->number;
27
    }
28
29
    /**
30
     * @param int $number
31
     */
32
    public function setNumber(int $number)
33
    {
34
        $this->number = $number;
35
    }
36
37
    /**
38
     * @return \DateTime
39
     */
40
    public function getDate(): \DateTime
41
    {
42
        return $this->date;
43
    }
44
45
    /**
46
     * @param \DateTime $date
47
     */
48
    public function setDate(\DateTime $date)
49
    {
50
        $this->date = $date;
51
    }
52
}
53