Failed Conditions
Pull Request — develop (#6684)
by Michael
61:07
created

AssociationIdentifierTarget   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\Tests\Models\ValueGenerators;
6
7
use Doctrine\ORM\Annotation as ORM;
8
9
/**
10
 * @ORM\Entity
11
 * @ORM\Table("vg_association_identifier_target")
12
 */
13
class AssociationIdentifierTarget
14
{
15
    public const ID = 123;
16
17
    /**
18
     * @ORM\Column(type="integer")
19
     * @ORM\Id
20
     * @var int
21
     */
22
    private $id = self::ID;
23
24
    public function getId() : int
25
    {
26
        return $this->id;
27
    }
28
}
29