Passed
Push — zf3-version ( d78913...04f8d4 )
by Diego
03:42
created

Sector::getDescription()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Api\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * Sector
9
 *
10
 * @ORM\Table(name="sector")
11
 * @ORM\Entity
12
 * @ORM\Entity(repositoryClass="Api\Entity\SectorRepository") 
13
 */
14
class Sector
15
{
16
    /**
17
     * @var integer
18
     *
19
     * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned":true})
20
     * @ORM\Id
21
     * @ORM\GeneratedValue(strategy="IDENTITY")
22
     */
23
    private $id;
0 ignored issues
show
Unused Code introduced by
The property $id is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
24
25
    /**
26
     * @var string
27
     *
28
     * @ORM\Column(name="name", type="string", length=255, nullable=true)
29
     */
30
    private $name;
0 ignored issues
show
Unused Code introduced by
The property $name is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
31
32
    /**
33
     * @var string
34
     *
35
     * @ORM\Column(name="color", type="string", length=10, nullable=true)
36
     */
37
    private $color;
0 ignored issues
show
Unused Code introduced by
The property $color is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
38
39
    /**
40
     * @var string
41
     *
42
     * @ORM\Column(name="description", type="text", length=65535, nullable=true)
43
     */
44
    private $description;
0 ignored issues
show
Unused Code introduced by
The property $description is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
45
46
47
}
48
49