Completed
Pull Request — master (#602)
by Tom
07:01
created

Address   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 18
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace DoctrineORMModuleTest\Assets\GraphEntity;
6
7
use Doctrine\Common\Collections\ArrayCollection;
8
use Doctrine\ORM\Mapping as ORM;
9
10
/**
11
 * Part of the test assets used to produce a demo of graphs in the ZDT integration
12
 *
13
 * @link    http://www.doctrine-project.org/
14
 *
15
 * @ORM\Entity()
16
 */
17
class Address
18
{
19
    /**
20
     * @ORM\Id()
21
     * @ORM\GeneratedValue(strategy="AUTO")
22
     * @ORM\Column(type="integer")
23
     */
24
    protected int $id;
0 ignored issues
show
Bug introduced by
This code did not parse for me. Apparently, there is an error somewhere around this line:

Syntax error, unexpected T_STRING, expecting T_FUNCTION or T_CONST
Loading history...
25
26
    public function __construct()
27
    {
28
        $this->groups = new ArrayCollection();
29
    }
30
}
31