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
Push — master ( a11bd1...3fc1f5 )
by Anderson
02:01
created

FooParent::setName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

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 3
nc 1
nop 1
1
<?php
2
3
namespace DoctrineElastic\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
use DoctrineElastic\Mapping as ElasticORM;
7
8
/**
9
 *
10
 * @author Ands
11
 *
12
 * @ElasticORM\Type(name="foo_parent", index="foo_family", childClasses={"DoctrineElastic\Entity\FooChild"})
13
 * @ORM\Entity
14
 */
15
class FooParent {
16
17
    /**
18
     * @var string
19
     * @ElasticORM\MetaField(name="_id")
20
     * @ORM\Column(name="_id", type="integer")
21
     * @ORM\Id
22
     */
23
    public $_id;
24
25
    /**
26
     * @var string
27
     * @ElasticORM\Field(name="name", type="string")
28
     *
29
     */
30
    protected $name;
31
32
    /**
33
     * @var string
34
     * @ElasticORM\Field(name="age", type="integer")
35
     *
36
     */
37
    protected $age;
38
39
    /**
40
     * @return string
41
     */
42
    public function getName() {
43
        return $this->name;
44
    }
45
46
    /**
47
     * @param string $name
48
     * @return FooParent
49
     */
50
    public function setName($name) {
51
        $this->name = $name;
52
        return $this;
53
    }
54
55
    /**
56
     * @return string
57
     */
58
    public function getAge() {
59
        return $this->age;
60
    }
61
62
    /**
63
     * @param string $age
64
     * @return FooParent
65
     */
66
    public function setAge($age) {
67
        $this->age = $age;
68
        return $this;
69
    }
70
71
72
}