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
Pull Request — master (#7)
by Alexander
68:29 queued 43:35
created

BillingAttribute::setText4()   A

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 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 6
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 BillingAttribute
14
 */
15 View Code Duplication
class BillingAttribute 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 $customerBillingId;
25
    /**
26
     * @var string
27
     */
28
    protected $text1;
29
    /**
30
     * @var string
31
     */
32
    protected $text2;
33
    /**
34
     * @var string
35
     */
36
    protected $text3;
37
    /**
38
     * @var string
39
     */
40
    protected $text4;
41
    /**
42
     * @var string
43
     */
44
    protected $text5;
45
    /**
46
     * @var string
47
     */
48
    protected $text6;
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 BillingAttribute
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 getCustomerBillingId()
74
    {
75
        return $this->customerBillingId;
76
    }
77
78
    /**
79
     * @param int $customerBillingId
80
     *
81
     * @return BillingAttribute
82
     */
83
    public function setCustomerBillingId($customerBillingId)
84
    {
85
        $this->customerBillingId = $customerBillingId;
86
87
        return $this;
88
    }
89
90
    /**
91
     * @return string
92
     */
93
    public function getText1()
94
    {
95
        return $this->text1;
96
    }
97
98
    /**
99
     * @param string $text1
100
     *
101
     * @return BillingAttribute
102
     */
103
    public function setText1($text1)
104
    {
105
        $this->text1 = $text1;
106
107
        return $this;
108
    }
109
110
    /**
111
     * @return string
112
     */
113
    public function getText2()
114
    {
115
        return $this->text2;
116
    }
117
118
    /**
119
     * @param string $text2
120
     *
121
     * @return BillingAttribute
122
     */
123
    public function setText2($text2)
124
    {
125
        $this->text2 = $text2;
126
127
        return $this;
128
    }
129
130
    /**
131
     * @return string
132
     */
133
    public function getText3()
134
    {
135
        return $this->text3;
136
    }
137
138
    /**
139
     * @param string $text3
140
     *
141
     * @return BillingAttribute
142
     */
143
    public function setText3($text3)
144
    {
145
        $this->text3 = $text3;
146
147
        return $this;
148
    }
149
150
    /**
151
     * @return string
152
     */
153
    public function getText4()
154
    {
155
        return $this->text4;
156
    }
157
158
    /**
159
     * @param string $text4
160
     *
161
     * @return BillingAttribute
162
     */
163
    public function setText4($text4)
164
    {
165
        $this->text4 = $text4;
166
167
        return $this;
168
    }
169
170
    /**
171
     * @return string
172
     */
173
    public function getText5()
174
    {
175
        return $this->text5;
176
    }
177
178
    /**
179
     * @param string $text5
180
     *
181
     * @return BillingAttribute
182
     */
183
    public function setText5($text5)
184
    {
185
        $this->text5 = $text5;
186
187
        return $this;
188
    }
189
190
    /**
191
     * @return string
192
     */
193
    public function getText6()
194
    {
195
        return $this->text6;
196
    }
197
198
    /**
199
     * @param string $text6
200
     *
201
     * @return BillingAttribute
202
     */
203
    public function setText6($text6)
204
    {
205
        $this->text6 = $text6;
206
207
        return $this;
208
    }
209
}
210