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.

ResponseGetToken::getExpiresOn()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace zaporylie\Vipps\Model\Authorization;
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
/**
8
 * Class ResponseGetToken
9
 *
10
 * @package Vipps\Model\Authorization
11
 */
12
class ResponseGetToken
13
{
14
15
    /**
16
     * @var string
17
     * @Serializer\Type("string")
18
     */
19
    protected $tokenType;
20
21
    /**
22
     * @var int
23
     * @Serializer\Type("integer")
24
     */
25
    protected $expiresIn;
26
27
    /**
28
     * @var int
29
     * @Serializer\Type("integer")
30
     */
31
    protected $extExpiresIn;
32
33
    /**
34
     * @var \DateTimeInterface
35
     * @Serializer\Type("DateTime<'U'>")
36
     */
37
    protected $expiresOn;
38
39
    /**
40
     * @var \DateTimeInterface
41
     * @Serializer\Type("DateTime<'U'>")
42
     */
43
    protected $notBefore;
44
45
    /**
46
     * @var string
47
     * @Serializer\Type("string")
48
     */
49
    protected $resource;
50
51
    /**
52
     * @var string
53
     * @Serializer\Type("string")
54
     */
55
    protected $accessToken;
56
57
    /**
58
     * Gets accessToken value.
59
     *
60
     * @return string
61
     */
62
    public function getAccessToken()
63
    {
64
        return $this->accessToken;
65
    }
66
67
    /**
68
     * Gets expiresIn value.
69
     *
70
     * @return int
71
     */
72
    public function getExpiresIn()
73
    {
74
        return $this->expiresIn;
75
    }
76
77
    /**
78
     * Gets expiresOn value.
79
     *
80
     * @return \DateTimeInterface
81
     */
82
    public function getExpiresOn()
83
    {
84
        return $this->expiresOn;
85
    }
86
87
    /**
88
     * Gets extExpiresIn value.
89
     *
90
     * @return int
91
     */
92
    public function getExtExpiresIn()
93
    {
94
        return $this->extExpiresIn;
95
    }
96
97
    /**
98
     * Gets notBefore value.
99
     *
100
     * @return \DateTimeInterface
101
     */
102
    public function getNotBefore()
103
    {
104
        return $this->notBefore;
105
    }
106
107
    /**
108
     * Gets resource value.
109
     *
110
     * @return string
111
     */
112
    public function getResource()
113
    {
114
        return $this->resource;
115
    }
116
117
    /**
118
     * Gets tokenType value.
119
     *
120
     * @return string
121
     */
122
    public function getTokenType()
123
    {
124
        return $this->tokenType;
125
    }
126
}
127