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.

Worklog   A
last analyzed

Complexity

Total Complexity 8

Size/Duplication

Total Lines 86
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 8
lcom 0
cbo 0
dl 0
loc 86
rs 10
c 0
b 0
f 0

8 Methods

Rating   Name   Duplication   Size   Complexity  
A getStartAt() 0 4 1
A setStartAt() 0 4 1
A getMaxResults() 0 4 1
A setMaxResults() 0 4 1
A getTotal() 0 4 1
A setTotal() 0 4 1
A getWorklogs() 0 4 1
A setWorklogs() 0 4 1
1
<?php
2
3
namespace JiraRestApi\Issue;
4
5
/**
6
 * Class Worklog.
7
 */
8
class Worklog
9
{
10
    /**
11
     * @var int Start at position
12
     */
13
    protected $startAt;
14
15
    /**
16
     * @var int Maximum results
17
     */
18
    protected $maxResults;
19
20
    /**
21
     * @var int Total results
22
     */
23
    protected $total;
24
25
    /**
26
     * @var array Worklogs
27
     */
28
    protected $worklogs;
29
30
    /**
31
     * @return int
32
     */
33
    public function getStartAt()
34
    {
35
        return $this->startAt;
36
    }
37
38
    /**
39
     * @param int $startAt
40
     */
41
    public function setStartAt($startAt)
42
    {
43
        $this->startAt = $startAt;
44
    }
45
46
    /**
47
     * @return int
48
     */
49
    public function getMaxResults()
50
    {
51
        return $this->maxResults;
52
    }
53
54
    /**
55
     * @param int $maxResults
56
     */
57
    public function setMaxResults($maxResults)
58
    {
59
        $this->maxResults = $maxResults;
60
    }
61
62
    /**
63
     * @return int
64
     */
65
    public function getTotal()
66
    {
67
        return $this->total;
68
    }
69
70
    /**
71
     * @param int $total
72
     */
73
    public function setTotal($total)
74
    {
75
        $this->total = $total;
76
    }
77
78
    /**
79
     * @return array Worklogs
80
     */
81
    public function getWorklogs()
82
    {
83
        return $this->worklogs;
84
    }
85
86
    /**
87
     * @param array $worklogs Worklogs
88
     */
89
    public function setWorklogs($worklogs)
90
    {
91
        $this->worklogs = $worklogs;
92
    }
93
}
94