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 ( b98016...0803ae )
by Mohamed
40:16 queued 14:56
created

PropertyValue::setId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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