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.

Location::elevation()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\WeatherUnderground\Resource;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Resource\AbstractResource;
7
8
/**
9
 * @EmptyResource("EmptyLocation")
10
 */
11
abstract class Location extends AbstractResource implements LocationInterface
12
{
13
    /**
14
     * @var string
15
     */
16
    protected $full;
17
18
    /**
19
     * @var string
20
     */
21
    protected $city;
22
23
    /**
24
     * @var string
25
     */
26
    protected $state;
27
28
    /**
29
     * @var string
30
     */
31
    protected $state_name;
32
33
    /**
34
     * @var string
35
     */
36
    protected $country;
37
38
    /**
39
     * @var string
40
     */
41
    protected $country_iso3166;
42
43
    /**
44
     * @var string
45
     */
46
    protected $zip;
47
48
    /**
49
     * @var string
50
     */
51
    protected $magic;
52
53
    /**
54
     * @var string
55
     */
56
    protected $wmo;
57
58
    /**
59
     * @var string
60
     */
61
    protected $latitude;
62
63
    /**
64
     * @var string
65
     */
66
    protected $longitude;
67
68
    /**
69
     * @var string
70
     */
71
    protected $elevation;
72
73
    /**
74
     * @return string
75
     */
76
    public function full() : string
77
    {
78
        return $this->full;
79
    }
80
81
    /**
82
     * @return string
83
     */
84
    public function city() : string
85
    {
86
        return $this->city;
87
    }
88
89
    /**
90
     * @return string
91
     */
92
    public function state() : string
93
    {
94
        return $this->state;
95
    }
96
97
    /**
98
     * @return string
99
     */
100
    public function stateName() : string
101
    {
102
        return $this->state_name;
103
    }
104
105
    /**
106
     * @return string
107
     */
108
    public function country() : string
109
    {
110
        return $this->country;
111
    }
112
113
    /**
114
     * @return string
115
     */
116
    public function countryIso3166() : string
117
    {
118
        return $this->country_iso3166;
119
    }
120
121
    /**
122
     * @return string
123
     */
124
    public function zip() : string
125
    {
126
        return $this->zip;
127
    }
128
129
    /**
130
     * @return string
131
     */
132
    public function magic() : string
133
    {
134
        return $this->magic;
135
    }
136
137
    /**
138
     * @return string
139
     */
140
    public function wmo() : string
141
    {
142
        return $this->wmo;
143
    }
144
145
    /**
146
     * @return string
147
     */
148
    public function latitude() : string
149
    {
150
        return $this->latitude;
151
    }
152
153
    /**
154
     * @return string
155
     */
156
    public function longitude() : string
157
    {
158
        return $this->longitude;
159
    }
160
161
    /**
162
     * @return string
163
     */
164
    public function elevation() : string
165
    {
166
        return $this->elevation;
167
    }
168
}
169