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::getES256()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 9
rs 9.6666
c 0
b 0
f 0
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