Skip to content

Commit a98e306

Browse files
authored
Merge pull request #11144 from doctrine/2.17.x
Merge 2.17.x up into 2.18.x
2 parents 091e43e + 26f47cb commit a98e306

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tests/Doctrine/Tests/ORM/Functional/Ticket/GH11072/GH11072EntityAdvanced.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,22 @@
66

77
use Doctrine\ORM\Mapping\Column;
88
use Doctrine\ORM\Mapping\Entity;
9+
use Doctrine\ORM\Mapping\GeneratedValue;
10+
use Doctrine\ORM\Mapping\Id;
911

1012
/**
1113
* @Entity
1214
*/
13-
class GH11072EntityAdvanced extends GH11072EntityBasic
15+
class GH11072EntityAdvanced
1416
{
17+
/**
18+
* @Id
19+
* @Column(type="integer")
20+
* @GeneratedValue
21+
* @var int
22+
*/
23+
public $id;
24+
1525
/** @Column(type="json") */
1626
public mixed $anything;
1727

0 commit comments

Comments
 (0)