Skip to content

Commit 8aa5aa2

Browse files
authored
Merge pull request #10929 from kaznovac/patch-1
tutorials[getting-started]: example fix bug id type definition
2 parents a60a273 + 96e31a3 commit 8aa5aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/tutorials/getting-started.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ classes. We'll store them in ``src/Bug.php`` and ``src/User.php``, respectively.
735735
#[ORM\Id]
736736
#[ORM\Column(type: 'integer')]
737737
#[ORM\GeneratedValue]
738-
private int $id;
738+
private int|null $id;
739739
740740
#[ORM\Column(type: 'string')]
741741
private string $description;

0 commit comments

Comments
 (0)