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.

AuthToken::setAuthToken()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
/*
4
 * (c) Alexander Zhukov <[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 Zbox\UnifiedPush\Utils\ClientCredentials\DTO;
11
12
use Zbox\UnifiedPush\Utils\ClientCredentials\CredentialsInterface;
13
14
/**
15
 * Class AuthToken
16
 * @package Zbox\UnifiedPush\Utils\ClientCredentials
17
 */
18
class AuthToken implements CredentialsInterface
19
{
20
    /**
21
     * An API key
22
     *
23
     * @var string
24
     */
25
    private $authToken;
26
27
    /**
28
     * @return string
29
     */
30
    public function getAuthToken()
31
    {
32
        return $this->authToken;
33
    }
34
35
    /**
36
     * @param string $authToken
37
     * @return $this
38
     */
39
    public function setAuthToken($authToken)
40
    {
41
        $this->authToken = $authToken;
42
43
        return $this;
44
    }
45
}
46