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.

Address   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 73
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 0
dl 0
loc 73
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getAddressLine1() 0 4 1
A getAddressLine2() 0 4 1
A getCity() 0 4 1
A getCountry() 0 4 1
A getPostCode() 0 4 1
1
<?php
2
3
namespace zaporylie\Vipps\Model\Payment;
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
/**
8
 * Class CustomerInfo
9
 *
10
 * @package Vipps\Model\Payment
11
 */
12
class Address
13
{
14
15
    /**
16
     * @var string
17
     * @Serializer\Type("string")
18
     */
19
    protected $addressLine1;
20
21
    /**
22
     * @var string
23
     * @Serializer\Type("string")
24
     */
25
    protected $addressLine2;
26
27
    /**
28
     * @var string
29
     * @Serializer\Type("string")
30
     */
31
    protected $city;
32
33
    /**
34
     * @var string
35
     * @Serializer\Type("string")
36
     */
37
    protected $country;
38
39
    /**
40
     * @var string
41
     * @Serializer\Type("string")
42
     */
43
    protected $postCode;
44
45
    /**
46
     * @return string
47
     */
48
    public function getAddressLine1()
49
    {
50
        return $this->addressLine1;
51
    }
52
53
    /**
54
     * @return string
55
     */
56
    public function getAddressLine2()
57
    {
58
        return $this->addressLine2;
59
    }
60
61
    /**
62
     * @return string
63
     */
64
    public function getCity()
65
    {
66
        return $this->city;
67
    }
68
69
    /**
70
     * @return string
71
     */
72
    public function getCountry()
73
    {
74
        return $this->country;
75
    }
76
77
    /**
78
     * @return string
79
     */
80
    public function getPostCode()
81
    {
82
        return $this->postCode;
83
    }
84
}
85