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.
Passed
Pull Request — master (#26)
by Vincent
02:12
created

Gorilla   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 54
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 0
dl 0
loc 54
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A setBanana() 0 4 1
A getBanana() 0 4 1
A setName() 0 4 1
A getName() 0 4 1
A setMale() 0 4 1
A isMale() 0 4 1
1
<?php
2
3
namespace Gorghoa\ScenarioStateBehatExtension\TestApp;
4
5
/*
6
 * This file is part of the ScenarioStateBehatExtension project.
7
 *
8
 * (c) Rodrigue Villetard <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
/**
15
 * @author Rodrigue Villetard <[email protected]>
16
 */
17
class Gorilla
18
{
19
    private $banana;
20
    private $name;
21
    private $male = false;
22
23
    /**
24
     * @param string $banana
25
     */
26
    public function setBanana($banana)
27
    {
28
        $this->banana = $banana;
29
    }
30
31
    /**
32
     * @return string
33
     */
34
    public function getBanana()
35
    {
36
        return $this->banana;
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 getName()
51
    {
52
        return $this->name;
53
    }
54
55
    /**
56
     * @param bool $male
57
     */
58
    public function setMale($male)
59
    {
60
        $this->male = $male;
61
    }
62
63
    /**
64
     * @return bool
65
     */
66
    public function isMale()
67
    {
68
        return $this->male;
69
    }
70
}
71