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.

Custom   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A getName() 0 4 1
A setName() 0 4 1
1
<?php
2
3
namespace Emarref\Jwt\HeaderParameter;
4
5
class Custom extends AbstractParameter
6
{
7
    /**
8
     * @var string
9
     */
10
    private $name;
11
12
    /**
13
     * @param mixed $name
14
     * @param mixed $value
15
     */
16
    public function __construct($name = null, $value = null)
17
    {
18
        parent::__construct($value);
19
20
        $this->setName($name);
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getName()
27
    {
28
        return $this->name;
29
    }
30
31
    /**
32
     * @param string $name
33
     */
34
    public function setName($name)
35
    {
36
        $this->name = $name;
37
    }
38
}
39