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.

OrderDetailAttribute::setOrderDetailId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 6
Ratio 100 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 6
loc 6
ccs 0
cts 5
cp 0
rs 9.4285
c 0
b 0
f 0
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 OrderDetailAttribute
14
 */
15 View Code Duplication
class OrderDetailAttribute extends Base
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var int
23
     */
24
    protected $orderDetailId;
25
    /**
26
     * @var string
27
     */
28
    protected $attribute1;
29
    /**
30
     * @var string
31
     */
32
    protected $attribute2;
33
    /**
34
     * @var string
35
     */
36
    protected $attribute3;
37
    /**
38
     * @var string
39
     */
40
    protected $attribute4;
41
    /**
42
     * @var string
43
     */
44
    protected $attribute5;
45
    /**
46
     * @var string
47
     */
48
    protected $attribute6;
49
50
    /**
51
     * @return int
52
     */
53
    public function getId()
54
    {
55
        return $this->id;
56
    }
57
58
    /**
59
     * @param int $id
60
     *
61
     * @return OrderDetailAttribute
62
     */
63
    public function setId($id)
64
    {
65
        $this->id = $id;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @return int
72
     */
73
    public function getOrderDetailId()
74
    {
75
        return $this->orderDetailId;
76
    }
77
78
    /**
79
     * @param int $orderDetailId
80
     *
81
     * @return OrderDetailAttribute
82
     */
83
    public function setOrderDetailId($orderDetailId)
84
    {
85
        $this->orderDetailId = $orderDetailId;
86
87
        return $this;
88
    }
89
90
    /**
91
     * @return string
92
     */
93
    public function getAttribute1()
94
    {
95
        return $this->attribute1;
96
    }
97
98
    /**
99
     * @param string $attribute1
100
     *
101
     * @return OrderDetailAttribute
102
     */
103
    public function setAttribute1($attribute1)
104
    {
105
        $this->attribute1 = $attribute1;
106
107
        return $this;
108
    }
109
110
    /**
111
     * @return string
112
     */
113
    public function getAttribute2()
114
    {
115
        return $this->attribute2;
116
    }
117
118
    /**
119
     * @param string $attribute2
120
     *
121
     * @return OrderDetailAttribute
122
     */
123
    public function setAttribute2($attribute2)
124
    {
125
        $this->attribute2 = $attribute2;
126
127
        return $this;
128
    }
129
130
    /**
131
     * @return string
132
     */
133
    public function getAttribute3()
134
    {
135
        return $this->attribute3;
136
    }
137
138
    /**
139
     * @param string $attribute3
140
     *
141
     * @return OrderDetailAttribute
142
     */
143
    public function setAttribute3($attribute3)
144
    {
145
        $this->attribute3 = $attribute3;
146
147
        return $this;
148
    }
149
150
    /**
151
     * @return string
152
     */
153
    public function getAttribute4()
154
    {
155
        return $this->attribute4;
156
    }
157
158
    /**
159
     * @param string $attribute4
160
     *
161
     * @return OrderDetailAttribute
162
     */
163
    public function setAttribute4($attribute4)
164
    {
165
        $this->attribute4 = $attribute4;
166
167
        return $this;
168
    }
169
170
    /**
171
     * @return string
172
     */
173
    public function getAttribute5()
174
    {
175
        return $this->attribute5;
176
    }
177
178
    /**
179
     * @param string $attribute5
180
     *
181
     * @return OrderDetailAttribute
182
     */
183
    public function setAttribute5($attribute5)
184
    {
185
        $this->attribute5 = $attribute5;
186
187
        return $this;
188
    }
189
190
    /**
191
     * @return string
192
     */
193
    public function getAttribute6()
194
    {
195
        return $this->attribute6;
196
    }
197
198
    /**
199
     * @param string $attribute6
200
     *
201
     * @return OrderDetailAttribute
202
     */
203
    public function setAttribute6($attribute6)
204
    {
205
        $this->attribute6 = $attribute6;
206
207
        return $this;
208
    }
209
}
210