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/Download.php 1 location

@@ 15-137 (lines=123) @@
12
/**
13
 * Class Download
14
 */
15
class Download extends Base
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var int
23
     */
24
    protected $articleId;
25
    /**
26
     * @var string
27
     */
28
    protected $name;
29
    /**
30
     * @var string
31
     */
32
    protected $file;
33
    /**
34
     * @var int
35
     */
36
    protected $size;
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 Download
50
     */
51
    public function setId($id)
52
    {
53
        $this->id = $id;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @return int
60
     */
61
    public function getArticleId()
62
    {
63
        return $this->articleId;
64
    }
65
66
    /**
67
     * @param int $articleId
68
     *
69
     * @return Download
70
     */
71
    public function setArticleId($articleId)
72
    {
73
        $this->articleId = $articleId;
74
75
        return $this;
76
    }
77
78
    /**
79
     * @return string
80
     */
81
    public function getName()
82
    {
83
        return $this->name;
84
    }
85
86
    /**
87
     * @param string $name
88
     *
89
     * @return Download
90
     */
91
    public function setName($name)
92
    {
93
        $this->name = $name;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @return string
100
     */
101
    public function getFile()
102
    {
103
        return $this->file;
104
    }
105
106
    /**
107
     * @param string $file
108
     *
109
     * @return Download
110
     */
111
    public function setFile($file)
112
    {
113
        $this->file = $file;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @return int
120
     */
121
    public function getSize()
122
    {
123
        return $this->size;
124
    }
125
126
    /**
127
     * @param int $size
128
     *
129
     * @return Download
130
     */
131
    public function setSize($size)
132
    {
133
        $this->size = $size;
134
135
        return $this;
136
    }
137
}
138

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

@@ 15-137 (lines=123) @@
12
/**
13
 * Class Link
14
 */
15
class Link extends Base
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var int
23
     */
24
    protected $articleId;
25
    /**
26
     * @var string
27
     */
28
    protected $name;
29
    /**
30
     * @var string
31
     */
32
    protected $link;
33
    /**
34
     * @var string
35
     */
36
    protected $target;
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 Link
50
     */
51
    public function setId($id)
52
    {
53
        $this->id = $id;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @return int
60
     */
61
    public function getArticleId()
62
    {
63
        return $this->articleId;
64
    }
65
66
    /**
67
     * @param int $articleId
68
     *
69
     * @return Link
70
     */
71
    public function setArticleId($articleId)
72
    {
73
        $this->articleId = $articleId;
74
75
        return $this;
76
    }
77
78
    /**
79
     * @return string
80
     */
81
    public function getName()
82
    {
83
        return $this->name;
84
    }
85
86
    /**
87
     * @param string $name
88
     *
89
     * @return Link
90
     */
91
    public function setName($name)
92
    {
93
        $this->name = $name;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @return string
100
     */
101
    public function getLink()
102
    {
103
        return $this->link;
104
    }
105
106
    /**
107
     * @param string $link
108
     *
109
     * @return Link
110
     */
111
    public function setLink($link)
112
    {
113
        $this->link = $link;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @return string
120
     */
121
    public function getTarget()
122
    {
123
        return $this->target;
124
    }
125
126
    /**
127
     * @param string $target
128
     *
129
     * @return Link
130
     */
131
    public function setTarget($target)
132
    {
133
        $this->target = $target;
134
135
        return $this;
136
    }
137
}
138