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::__construct()   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
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
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