Passed
Pull Request — master (#4)
by
unknown
01:45
created

Task::setProjectId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php declare(strict_types=1);
2
3
namespace Syncer\Dto\InvoiceNinja;
4
5
/**
6
 * Class Task
7
 * @package Syncer\Dto\InvoiceNinja
8
 *
9
 * @author Matthieu Calie <matthieu@calie>
10
 */
11
class Task
12
{
13
    /**
14
     * @var string
15
     */
16
    private $description;
17
18
    /**
19
     * @var string
20
     */
21
    private $timeLog;
22
23
    /**
24
     * @var integer
25
     */
26
    private $clientId;
27
28
    /**
29
     * @var integer
30
     */
31
    private $projectId;
32
33
    /**
34
     * @return string
35
     */
36
    public function getDescription(): string
37
    {
38
        return $this->description;
39
    }
40
41
    /**
42
     * @param string $description
43
     */
44
    public function setDescription(string $description)
45
    {
46
        $this->description = $description;
47
    }
48
49
    /**
50
     * @return string
51
     */
52
    public function getTimeLog(): string
53
    {
54
        return $this->timeLog;
55
    }
56
57
    /**
58
     * @param string $timeLog
59
     */
60
    public function setTimeLog(string $timeLog)
61
    {
62
        $this->timeLog = $timeLog;
63
    }
64
65
    /**
66
     * @return int
67
     */
68
    public function getClientId(): int
69
    {
70
        return $this->clientId;
71
    }
72
73
    /**
74
     * @param int $clientId
75
     */
76
    public function setClientId(int $clientId)
77
    {
78
        $this->clientId = $clientId;
79
    }
80
81
    /**
82
     * @return int
83
     */
84
    public function getProjectId(): int
85
    {
86
        return $this->projectId;
87
    }
88
89
    /**
90
     * @param int $projectId
91
     */
92
    public function setProjectId(int $projectId)
93
    {
94
        $this->projectId = $projectId;
95
    }
96
}
97