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 ( 63b141...514dc5 )
by Christian
09:25
created

Session::getFbid()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * (c) Christian Gripp <[email protected]>
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace Core23\FacebookBundle\Connection;
11
12
final class Session implements SessionInterface
13
{
14
    /**
15
     * @var string
16
     */
17
    private $fbid;
18
19
    /**
20
     * @var string
21
     */
22
    private $token;
23
24
    /**
25
     * @var \DateTime
26
     */
27
    private $expires;
28
29
    /**
30
     * Session constructor.
31
     *
32
     * @param string         $fbid
33
     * @param string         $token
34
     * @param \DateTime|null $expires
35
     */
36
    public function __construct(string $fbid, string $token, \DateTime $expires = null)
37
    {
38
        $this->fbid  = $fbid;
39
        $this->token = $token;
40
        $this->expires = $expires;
41
    }
42
43
    /**
44
     * {@inheritdoc}
45
     */
46
    public function getFbid(): string
47
    {
48
        return $this->fbid;
49
    }
50
51
    /**
52
     * {@inheritdoc}
53
     */
54
    public function getToken(): string
55
    {
56
        return $this->token;
57
    }
58
59
    /**
60
     * {@inheritdoc}
61
     */
62
    public function getExpires()
63
    {
64
        return $this->expires;
65
    }
66
}
67