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.

ECDSA   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 41
rs 10
c 0
b 0
f 0
wmc 3
lcom 1
cbo 2

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getES256() 0 9 1
A getES384() 0 9 1
A getES512() 0 9 1
1
<?php
2
3
namespace Gandung\JWT\Proxy;
4
5
/**
6
 * @author Paulus Gandung Prakosa <[email protected]>
7
 */
8
class ECDSA extends AbstractProxy
9
{
10
    /**
11
     * @return \Gandung\JWT\Algorithm\ECDSA\ES256
12
     */
13
    public function getES256()
14
    {
15
        return $this->instantiate(
16
            \Gandung\JWT\Algorithm\ECDSA\ES256::class,
17
            [
18
                \Gandung\JWT\Adapter\ECDSAAdapter::create()
19
            ]
20
        );
21
    }
22
23
    /**
24
     * @return \Gandung\JWT\Algorithm\ECDSA\ES384
25
     */
26
    public function getES384()
27
    {
28
        return $this->instantiate(
29
            \Gandung\JWT\Algorithm\ECDSA\ES384::class,
30
            [
31
                \Gandung\JWT\Adapter\ECDSAAdapter::create()
32
            ]
33
        );
34
    }
35
36
    /**
37
     * @return \Gandung\JWT\Algorithm\ECDSA\ES512
38
     */
39
    public function getES512()
40
    {
41
        return $this->instantiate(
42
            \Gandung\JWT\Algorithm\ECDSA\ES512::class,
43
            [
44
                \Gandung\JWT\Adapter\ECDSAAdapter::create()
45
            ]
46
        );
47
    }
48
}
49