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.
Completed
Pull Request — master (#33)
by Cees-Jan
13:22 queued 11:17
created

EnvironmentVariable::value()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
declare(strict_types=1);
3
4
namespace WyriHaximus\Travis\Resource;
5
6
use WyriHaximus\ApiClient\Resource\TransportAwareTrait;
7
8
abstract class EnvironmentVariable implements EnvironmentVariableInterface
9
{
10
    use TransportAwareTrait;
11
12
    /**
13
     * @var string
14
     */
15
    protected $id;
16
17
    /**
18
     * @var string
19
     */
20
    protected $name;
21
22
    /**
23
     * @var string
24
     */
25
    protected $value;
26
27
    /**
28
     * @var bool
29
     */
30
    protected $public;
31
32
    /**
33
     * @var int
34
     */
35
    protected $repository_id;
36
37
    /**
38
     * @return string
39
     */
40
    public function id() : string
41
    {
42
        return $this->id;
43
    }
44
45
    /**
46
     * @return string
47
     */
48
    public function name() : string
49
    {
50
        return $this->name;
51
    }
52
53
    /**
54
     * @return string
55
     */
56
    public function value() : string
57
    {
58
        return $this->value;
59
    }
60
61
    /**
62
     * @return bool
63
     */
64
    public function public() : bool
65
    {
66
        return $this->public;
67
    }
68
69
    /**
70
     * @return int
71
     */
72
    public function repositoryId() : int
73
    {
74
        return $this->repository_id;
75
    }
76
}
77