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.

PermissionDefinition::setPath()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
namespace Kunstmaan\Skylab\Entity;
3
4
/**
5
 * PermissionDefinition
6
 */
7
class PermissionDefinition
8
{
9
10
    /**
11
     * @var string
12
     */
13
    private $path;
14
15
    /**
16
     * @var string
17
     */
18
    private $ownership;
19
20
    /**
21
     * @var string[]
22
     */
23
    private $acl = array();
24
25
    /**
26
     * @param string $acl
27
     */
28
    public function addAcl($acl)
29
    {
30
        $this->acl[] = $acl;
31
    }
32
33
    /**
34
     * @return string[]
35
     */
36
    public function getAcl()
37
    {
38
        return $this->acl;
39
    }
40
41
    /**
42
     * @param string $ownership
43
     */
44
    public function setOwnership($ownership)
45
    {
46
        $this->ownership = $ownership;
47
    }
48
49
    /**
50
     * @return string
51
     */
52
    public function getOwnership()
53
    {
54
        return $this->ownership;
55
    }
56
57
    /**
58
     * @param string $path
59
     */
60
    public function setPath($path)
61
    {
62
        $this->path = $path;
63
    }
64
65
    /**
66
     * @return string
67
     */
68
    public function getPath()
69
    {
70
        return $this->path;
71
    }
72
73
}
74