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/Neta/Shopware/SDK/Entity/OrderStatus.php 1 location

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

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

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