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

FooChild::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_child", index="foo_family", parentClass="DoctrineElastic\Entity\FooParent")
13
 * @ORM\Entity
14
 */
15
class FooChild {
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\MetaField(name="_parent")
28
     *
29
     */
30
    public $_parent;
31
32
    /**
33
     * @var string
34
     * @ElasticORM\Field(name="name", type="string")
35
     *
36
     */
37
    protected $name;
38
39
    /**
40
     * @var string
41
     * @ElasticORM\Field(name="age", type="integer")
42
     *
43
     */
44
    protected $age;
45
46
    /**
47
     * @return string
48
     */
49
    public function getName() {
50
        return $this->name;
51
    }
52
53
    /**
54
     * @param string $name
55
     * @return FooChild
56
     */
57
    public function setName($name) {
58
        $this->name = $name;
59
        return $this;
60
    }
61
62
    /**
63
     * @return string
64
     */
65
    public function getAge() {
66
        return $this->age;
67
    }
68
69
    /**
70
     * @param string $age
71
     * @return FooChild
72
     */
73
    public function setAge($age) {
74
        $this->age = $age;
75
        return $this;
76
    }
77
}