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.
Completed
Push — master ( dd13da...b61209 )
by Richard
04:01 queued 54s
created

Instrument::getAbbreviation()   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 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: wechsler
5
 * Date: 25/02/2017
6
 * Time: 17:48
7
 */
8
9
namespace Phase\TakeATicket\Model;
10
11
class Instrument
12
{
13
    /**
14
     * DB ID
15
     *
16
     * @var int
17
     */
18
    protected $id;
19
20
    /**
21
     * Full name
22
     *
23
     * @var string
24
     */
25
    protected $name;
26
27
    /**
28
     * Short (single-letter?) name
29
     *
30
     * @var string
31
     */
32
    protected $abbreviation;
33
34
    /**
35
     * HTML fragment for display icons
36
     *
37
     * @var string
38
     */
39
    protected $iconHtml;
40
41
    /**
42
     * @return int
43
     */
44
    public function getId()
45
    {
46
        return $this->id;
47
    }
48
49
    /**
50
     * @param int $id
51
     * @return Instrument
52
     */
53
    public function setId($id)
54
    {
55
        $this->id = $id;
56
        return $this;
57
    }
58
59
    /**
60
     * @return string
61
     */
62
    public function getName()
63
    {
64
        return $this->name;
65
    }
66
67
    /**
68
     * @param string $name
69
     * @return Instrument
70
     */
71
    public function setName($name)
72
    {
73
        $this->name = $name;
74
        return $this;
75
    }
76
77
    /**
78
     * @return string
79
     */
80
    public function getAbbreviation()
81
    {
82
        return $this->abbreviation;
83
    }
84
85
    /**
86
     * @param string $abbreviation
87
     * @return Instrument
88
     */
89
    public function setAbbreviation($abbreviation)
90
    {
91
        $this->abbreviation = $abbreviation;
92
        return $this;
93
    }
94
95
    /**
96
     * @return string
97
     */
98
    public function getIconHtml()
99
    {
100
        return $this->iconHtml;
101
    }
102
103
    /**
104
     * @param string $iconHtml
105
     * @return Instrument
106
     */
107
    public function setIconHtml($iconHtml)
108
    {
109
        $this->iconHtml = $iconHtml;
110
        return $this;
111
    }
112
}
113