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

src/Model/Payment/PaymentShippingDetails.php 1 location

@@ 12-70 (lines=59) @@
9
 *
10
 * @package Vipps\Model\Payment
11
 */
12
class PaymentShippingDetails
13
{
14
15
    /**
16
     * @var \zaporylie\Vipps\Model\Payment\Address
17
     * @Serializer\Type("zaporylie\Vipps\Model\Payment\Address")
18
     */
19
    protected $address;
20
21
    /**
22
     * @var double
23
     * @Serializer\Type("double")
24
     */
25
    protected $shippingCost;
26
27
    /**
28
     * @var string
29
     * @Serializer\Type("string")
30
     */
31
    protected $shippingMethod;
32
33
    /**
34
     * @var string
35
     * @Serializer\Type("string")
36
     */
37
    protected $shippingMethodId;
38
39
    /**
40
     * @return \zaporylie\Vipps\Model\Payment\Address
41
     */
42
    public function getAddress()
43
    {
44
        return $this->address;
45
    }
46
47
    /**
48
     * @return float
49
     */
50
    public function getShippingCost()
51
    {
52
        return $this->shippingCost;
53
    }
54
55
    /**
56
     * @return string
57
     */
58
    public function getShippingMethod()
59
    {
60
        return $this->shippingMethod;
61
    }
62
63
    /**
64
     * @return string
65
     */
66
    public function getShippingMethodId()
67
    {
68
        return $this->shippingMethodId;
69
    }
70
}
71

src/Model/Payment/ShippingDetailsRequest.php 1 location

@@ 7-65 (lines=59) @@
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
class ShippingDetailsRequest
8
{
9
10
    /**
11
     * @var \zaporylie\Vipps\Model\Payment\Address
12
     * @Serializer\Type("zaporylie\Vipps\Model\Payment\Address")
13
     */
14
    protected $address;
15
16
    /**
17
     * @var double
18
     * @Serializer\Type("double")
19
     */
20
    protected $shippingCost;
21
22
    /**
23
     * @var string
24
     * @Serializer\Type("string")
25
     */
26
    protected $shippingMethod;
27
28
    /**
29
     * @var string
30
     * @Serializer\Type("string")
31
     */
32
    protected $shippingMethodId;
33
34
    /**
35
     * @return \zaporylie\Vipps\Model\Payment\Address
36
     */
37
    public function getAddress()
38
    {
39
        return $this->address;
40
    }
41
42
    /**
43
     * @return float
44
     */
45
    public function getShippingCost()
46
    {
47
        return $this->shippingCost;
48
    }
49
50
    /**
51
     * @return string
52
     */
53
    public function getShippingMethod()
54
    {
55
        return $this->shippingMethod;
56
    }
57
58
    /**
59
     * @return string
60
     */
61
    public function getShippingMethodId()
62
    {
63
        return $this->shippingMethodId;
64
    }
65
}
66