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 = 99-99 lines in 2 locations

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

@@ 16-114 (lines=99) @@
13
/**
14
 * Class ConfiguratorGroup.
15
 */
16
class ConfiguratorGroup extends Base
17
{
18
    /**
19
     * @var int
20
     */
21
    protected $id;
22
    /**
23
     * @var string
24
     */
25
    protected $description;
26
    /**
27
     * @var string
28
     */
29
    protected $name;
30
    /**
31
     * @var int
32
     */
33
    protected $position;
34
35
    /**
36
     * @return int
37
     */
38
    public function getId()
39
    {
40
        return $this->id;
41
    }
42
43
    /**
44
     * @param int $id
45
     *
46
     * @return ConfiguratorGroup
47
     */
48
    public function setId($id)
49
    {
50
        $this->id = $id;
51
52
        return $this;
53
    }
54
55
    /**
56
     * @return string
57
     */
58
    public function getDescription()
59
    {
60
        return $this->description;
61
    }
62
63
    /**
64
     * @param string $description
65
     *
66
     * @return ConfiguratorGroup
67
     */
68
    public function setDescription($description)
69
    {
70
        $this->description = $description;
71
72
        return $this;
73
    }
74
75
    /**
76
     * @return string
77
     */
78
    public function getName()
79
    {
80
        return $this->name;
81
    }
82
83
    /**
84
     * @param string $name
85
     *
86
     * @return ConfiguratorGroup
87
     */
88
    public function setName($name)
89
    {
90
        $this->name = $name;
91
92
        return $this;
93
    }
94
95
    /**
96
     * @return int
97
     */
98
    public function getPosition()
99
    {
100
        return $this->position;
101
    }
102
103
    /**
104
     * @param int $position
105
     *
106
     * @return ConfiguratorGroup
107
     */
108
    public function setPosition($position)
109
    {
110
        $this->position = $position;
111
112
        return $this;
113
    }
114
}
115

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

@@ 16-114 (lines=99) @@
13
/**
14
 * Class ConfiguratorOption.
15
 */
16
class ConfiguratorOption extends Base
17
{
18
    /**
19
     * @var int
20
     */
21
    protected $id;
22
    /**
23
     * @var int
24
     */
25
    protected $groupId;
26
    /**
27
     * @var string
28
     */
29
    protected $name;
30
    /**
31
     * @var int
32
     */
33
    protected $position;
34
35
    /**
36
     * @return int
37
     */
38
    public function getId()
39
    {
40
        return $this->id;
41
    }
42
43
    /**
44
     * @param int $id
45
     *
46
     * @return ConfiguratorOption
47
     */
48
    public function setId($id)
49
    {
50
        $this->id = $id;
51
52
        return $this;
53
    }
54
55
    /**
56
     * @return int
57
     */
58
    public function getGroupId()
59
    {
60
        return $this->groupId;
61
    }
62
63
    /**
64
     * @param int $groupId
65
     *
66
     * @return ConfiguratorOption
67
     */
68
    public function setGroupId($groupId)
69
    {
70
        $this->groupId = $groupId;
71
72
        return $this;
73
    }
74
75
    /**
76
     * @return string
77
     */
78
    public function getName()
79
    {
80
        return $this->name;
81
    }
82
83
    /**
84
     * @param string $name
85
     *
86
     * @return ConfiguratorOption
87
     */
88
    public function setName($name)
89
    {
90
        $this->name = $name;
91
92
        return $this;
93
    }
94
95
    /**
96
     * @return int
97
     */
98
    public function getPosition()
99
    {
100
        return $this->position;
101
    }
102
103
    /**
104
     * @param int $position
105
     *
106
     * @return ConfiguratorOption
107
     */
108
    public function setPosition($position)
109
    {
110
        $this->position = $position;
111
112
        return $this;
113
    }
114
}
115