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.

JWTFactory::getJwt()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Gandung\JWT;
4
5
use Gandung\JWT\JWT;
6
use Gandung\JWT\Manager\KeyManagerInterface;
7
use Gandung\JWT\Token\JoseBuilderInterface;
8
use Gandung\JWT\Token\ClaimBuilderInterface;
9
use Gandung\JWT\Token\PayloadBuilderInterface;
10
11
class JWTFactory
12
{
13
    /**
14
     * Get JWT instance.
15
     *
16
     * @return JWT
17
     */
18
    public static function getJwt()
19
    {
20
        return JWT::create();
21
    }
22
23
    /**
24
     * Get JoseBuilder instance.
25
     *
26
     * @return JoseBuilderInterface
27
     */
28
    public static function getJoseBuilder()
29
    {
30
        return new \Gandung\JWT\Token\JoseBuilder;
31
    }
32
33
    /**
34
     * Get ClaimBuilder instance.
35
     *
36
     * @return ClaimBuilderInterface
37
     */
38
    public static function getClaimBuilder()
39
    {
40
        return new \Gandung\JWT\Token\ClaimBuilder;
41
    }
42
43
    /**
44
     * Get PayloadBuilder instance.
45
     *
46
     * @return PayloadBuilderInterface
47
     */
48
    public static function getPayloadBuilder()
49
    {
50
        return new \Gandung\JWT\Token\PayloadBuilder;
51
    }
52
53
    /**
54
     * Get KeyManager instance.
55
     *
56
     * @return KeyManagerInterface
57
     */
58
    public static function getKeyManager()
59
    {
60
        return new \Gandung\JWT\Manager\KeyManager;
61
    }
62
}
63