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.
Completed
Push — master ( 5d8585...19996e )
by Alexander
85:54 queued 60:54
created

PriceGroup::setId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
ccs 0
cts 5
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * LeadCommerce\Shopware\SDK\Entity
4
 *
5
 * Copyright 2016 LeadCommerce
6
 *
7
 * @author Alexander Mahrt <[email protected]>
8
 * @copyright 2016 LeadCommerce <[email protected]>
9
 */
10
namespace LeadCommerce\Shopware\SDK\Entity;
11
12
/**
13
 * Class PriceGroup
14
 */
15
class PriceGroup extends Base
16
{
17
    /**
18
     * @var int
19
     */
20
    protected $id;
21
    /**
22
     * @var string
23
     */
24
    protected $description;
25
26
    /**
27
     * @return int
28
     */
29
    public function getId()
30
    {
31
        return $this->id;
32
    }
33
34
    /**
35
     * @param int $id
36
     *
37
     * @return PriceGroup
38
     */
39
    public function setId($id)
40
    {
41
        $this->id = $id;
42
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getDescription()
50
    {
51
        return $this->description;
52
    }
53
54
    /**
55
     * @param string $description
56
     *
57
     * @return PriceGroup
58
     */
59
    public function setDescription($description)
60
    {
61
        $this->description = $description;
62
63
        return $this;
64
    }
65
}
66