Id   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 15
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace Rostenkowski\Doctrine\Entity;
4
5
6
trait Id
7
{
8
9
	/**
10
	 * @Id
11
	 * @Column(type="integer")
12
	 * @GeneratedValue(strategy="AUTO")
13
	 * @var int
14
	 */
15
	protected $id;
16
17
18
	public function getId(): ?int
19
	{
20
		return $this->id;
21
	}
22
23
}
24