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 ( 5d8585...19996e )
by Alexander
85:54 queued 60:54
created

PropertyValue::setValueNumeric()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
ccs 0
cts 5
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * LeadCommerce\Shopware\SDK\Entity
4
 *
5
 * Copyright 2016 LeadCommerce
6
 *
7
 * @author Alexander Mahrt <[email protected]>
8
 * @copyright 2016 LeadCommerce <[email protected]>
9
 */
10
namespace LeadCommerce\Shopware\SDK\Entity;
11
12
/**
13
 * Class PropertyValue
14
 */
15
class PropertyValue extends Base
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var float
23
     */
24
    protected $valueNumeric;
25
    /**
26
     * @var int
27
     */
28
    protected $position;
29
    /**
30
     * @var int
31
     */
32
    protected $optionId;
33
    /**
34
     * @var string
35
     */
36
    protected $value;
37
38
    /**
39
     * @return int
40
     */
41
    public function getId()
42
    {
43
        return $this->id;
44
    }
45
46
    /**
47
     * @param int $id
48
     *
49
     * @return PropertyValue
50
     */
51
    public function setId($id)
52
    {
53
        $this->id = $id;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @return float
60
     */
61
    public function getValueNumeric()
62
    {
63
        return $this->valueNumeric;
64
    }
65
66
    /**
67
     * @param float $valueNumeric
68
     *
69
     * @return PropertyValue
70
     */
71
    public function setValueNumeric($valueNumeric)
72
    {
73
        $this->valueNumeric = $valueNumeric;
74
75
        return $this;
76
    }
77
78
    /**
79
     * @return int
80
     */
81
    public function getPosition()
82
    {
83
        return $this->position;
84
    }
85
86
    /**
87
     * @param int $position
88
     *
89
     * @return PropertyValue
90
     */
91
    public function setPosition($position)
92
    {
93
        $this->position = $position;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @return int
100
     */
101
    public function getOptionId()
102
    {
103
        return $this->optionId;
104
    }
105
106
    /**
107
     * @param int $optionId
108
     *
109
     * @return PropertyValue
110
     */
111
    public function setOptionId($optionId)
112
    {
113
        $this->optionId = $optionId;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @return string
120
     */
121
    public function getValue()
122
    {
123
        return $this->value;
124
    }
125
126
    /**
127
     * @param string $value
128
     *
129
     * @return PropertyValue
130
     */
131
    public function setValue($value)
132
    {
133
        $this->value = $value;
134
135
        return $this;
136
    }
137
}
138