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

FooType::getCustomNestedField()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace DoctrineElastic\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
use DoctrineElastic\Mapping as ElasticORM;
7
8
/**
9
 * Elastic type representation, like a relational table managed by Doctrine
10
 *
11
 * @author Ands
12
 *
13
 * @ElasticORM\Type(name="foo_type", index="foo_index")
14
 * @ORM\Entity
15
 */
16
class FooType {
17
18
    /**
19
     * @var string
20
     *
21
     * @ORM\Id
22
     * @ORM\GeneratedValue(strategy="IDENTITY")
23
     * @ElasticORM\MetaField(name="_id")
24
     * @ORM\Column(name="_id", type="integer")
25
     */
26
    public $_id;
27
28
    /**
29
     * @var int
30
     *
31
     * @ElasticORM\Field(name="custom_numeric_field", type="integer")
32
     */
33
    private $customNumericField;
34
35
    /**
36
     * @var string
37
     *
38
     * @ElasticORM\Field(name="custom_field", type="string")
39
     */
40
    private $customField;
41
42
    /**
43
     * @var array
44
     *
45
     * @ElasticORM\Field(name="custom_nested_field", type="nested")
46
     */
47
    private $customNestedField = [];
48
49
    /**
50
     * @return int
51
     */
52
    public function getCustomNumericField() {
53
        return $this->customNumericField;
54
    }
55
56
    /**
57
     * @param int $customNumericField
58
     * @return FooType
59
     */
60
    public function setCustomNumericField($customNumericField) {
61
        $this->customNumericField = $customNumericField;
62
        return $this;
63
    }
64
65
    /**
66
     * @return string
67
     */
68
    public function getCustomField() {
69
        return $this->customField;
70
    }
71
72
    /**
73
     * @param string $customField
74
     * @return FooType
75
     */
76
    public function setCustomField($customField) {
77
        $this->customField = $customField;
78
        return $this;
79
    }
80
81
    /**
82
     * @return array
83
     */
84
    public function getCustomNestedField() {
85
        return $this->customNestedField;
86
    }
87
88
    /**
89
     * @param array $customNestedField
90
     * @return FooType
91
     */
92
    public function setCustomNestedField($customNestedField) {
93
        $this->customNestedField = $customNestedField;
94
        return $this;
95
    }
96
97
98
}
99
100