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

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

@@ 15-89 (lines=75) @@
12
/**
13
 * Class PropertyGroupOption
14
 */
15
class PropertyGroupOption extends Base
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var string
23
     */
24
    protected $name;
25
    /**
26
     * @var bool
27
     */
28
    protected $filterable;
29
30
    /**
31
     * @return int
32
     */
33
    public function getId()
34
    {
35
        return $this->id;
36
    }
37
38
    /**
39
     * @param int $id
40
     *
41
     * @return PropertyGroupOption
42
     */
43
    public function setId($id)
44
    {
45
        $this->id = $id;
46
47
        return $this;
48
    }
49
50
    /**
51
     * @return string
52
     */
53
    public function getName()
54
    {
55
        return $this->name;
56
    }
57
58
    /**
59
     * @param string $name
60
     *
61
     * @return PropertyGroupOption
62
     */
63
    public function setName($name)
64
    {
65
        $this->name = $name;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @return bool
72
     */
73
    public function isFilterable()
74
    {
75
        return $this->filterable;
76
    }
77
78
    /**
79
     * @param bool $filterable
80
     *
81
     * @return PropertyGroupOption
82
     */
83
    public function setFilterable($filterable)
84
    {
85
        $this->filterable = $filterable;
86
87
        return $this;
88
    }
89
}
90

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

@@ 15-89 (lines=75) @@
12
/**
13
 * Class Tax
14
 */
15
class Tax extends Base
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var string
23
     */
24
    protected $tax;
25
    /**
26
     * @var string
27
     */
28
    protected $name;
29
30
    /**
31
     * @return int
32
     */
33
    public function getId()
34
    {
35
        return $this->id;
36
    }
37
38
    /**
39
     * @param int $id
40
     *
41
     * @return Tax
42
     */
43
    public function setId($id)
44
    {
45
        $this->id = $id;
46
47
        return $this;
48
    }
49
50
    /**
51
     * @return string
52
     */
53
    public function getTax()
54
    {
55
        return $this->tax;
56
    }
57
58
    /**
59
     * @param string $tax
60
     *
61
     * @return Tax
62
     */
63
    public function setTax($tax)
64
    {
65
        $this->tax = $tax;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @return string
72
     */
73
    public function getName()
74
    {
75
        return $this->name;
76
    }
77
78
    /**
79
     * @param string $name
80
     *
81
     * @return Tax
82
     */
83
    public function setName($name)
84
    {
85
        $this->name = $name;
86
87
        return $this;
88
    }
89
}
90