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.

Code Duplication    Length = 123-123 lines in 2 locations

src/LeadCommerce/Shopware/SDK/Entity/OrderStatus.php 1 location

@@ 15-137 (lines=123) @@
12
/**
13
 * Class OrderStatus
14
 */
15
class OrderStatus extends Base
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var string
23
     */
24
    protected $description;
25
    /**
26
     * @var int
27
     */
28
    protected $position;
29
    /**
30
     * @var string
31
     */
32
    protected $group;
33
    /**
34
     * @var bool
35
     */
36
    protected $sendMail;
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 OrderStatus
50
     */
51
    public function setId($id)
52
    {
53
        $this->id = $id;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @return string
60
     */
61
    public function getDescription()
62
    {
63
        return $this->description;
64
    }
65
66
    /**
67
     * @param string $description
68
     *
69
     * @return OrderStatus
70
     */
71
    public function setDescription($description)
72
    {
73
        $this->description = $description;
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 OrderStatus
90
     */
91
    public function setPosition($position)
92
    {
93
        $this->position = $position;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @return string
100
     */
101
    public function getGroup()
102
    {
103
        return $this->group;
104
    }
105
106
    /**
107
     * @param string $group
108
     *
109
     * @return OrderStatus
110
     */
111
    public function setGroup($group)
112
    {
113
        $this->group = $group;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @return bool
120
     */
121
    public function isSendMail()
122
    {
123
        return $this->sendMail;
124
    }
125
126
    /**
127
     * @param bool $sendMail
128
     *
129
     * @return OrderStatus
130
     */
131
    public function setSendMail($sendMail)
132
    {
133
        $this->sendMail = $sendMail;
134
135
        return $this;
136
    }
137
}
138

src/LeadCommerce/Shopware/SDK/Entity/PropertyGroup.php 1 location

@@ 15-137 (lines=123) @@
12
/**
13
 * Class PropertyGroup
14
 */
15
class PropertyGroup extends Base
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var string
23
     */
24
    protected $name;
25
    /**
26
     * @var int
27
     */
28
    protected $position;
29
    /**
30
     * @var bool
31
     */
32
    protected $comparable;
33
    /**
34
     * @var int
35
     */
36
    protected $sortMode;
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 PropertyGroup
50
     */
51
    public function setId($id)
52
    {
53
        $this->id = $id;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @return string
60
     */
61
    public function getName()
62
    {
63
        return $this->name;
64
    }
65
66
    /**
67
     * @param string $name
68
     *
69
     * @return PropertyGroup
70
     */
71
    public function setName($name)
72
    {
73
        $this->name = $name;
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 PropertyGroup
90
     */
91
    public function setPosition($position)
92
    {
93
        $this->position = $position;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @return bool
100
     */
101
    public function isComparable()
102
    {
103
        return $this->comparable;
104
    }
105
106
    /**
107
     * @param bool $comparable
108
     *
109
     * @return PropertyGroup
110
     */
111
    public function setComparable($comparable)
112
    {
113
        $this->comparable = $comparable;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @return int
120
     */
121
    public function getSortMode()
122
    {
123
        return $this->sortMode;
124
    }
125
126
    /**
127
     * @param int $sortMode
128
     *
129
     * @return PropertyGroup
130
     */
131
    public function setSortMode($sortMode)
132
    {
133
        $this->sortMode = $sortMode;
134
135
        return $this;
136
    }
137
}
138