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.

Feature   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 50
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 50
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
A setName() 0 4 1
A getSettings() 0 4 1
A setSettings() 0 4 1
1
<?php
2
3
namespace Opensoft\RolloutBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * @author Richard Fullmer <[email protected]>
9
 *
10
 * @ORM\Table(name="rollout_feature")
11
 * @ORM\Entity
12
 */
13
class Feature
14
{
15
    /**
16
     * @var string
17
     *
18
     * @ORM\Id
19
     * @ORM\Column(type="string")
20
     * @ORM\GeneratedValue(strategy="NONE")
21
     */
22
    private $name;
23
24
    /**
25
     * @var string
26
     *
27
     * @ORM\Column(type="text")
28
     */
29
    private $settings;
30
31
    /**
32
     * @return string
33
     */
34
    public function getName()
35
    {
36
        return $this->name;
37
    }
38
39
    /**
40
     * @param string $name
41
     */
42
    public function setName($name)
43
    {
44
        $this->name = $name;
45
    }
46
47
    /**
48
     * @return string
49
     */
50
    public function getSettings()
51
    {
52
        return $this->settings;
53
    }
54
55
    /**
56
     * @param string $settings
57
     */
58
    public function setSettings($settings)
59
    {
60
        $this->settings = $settings;
61
    }
62
}
63