Skip to content

Commit d797eca

Browse files
authored
Merge pull request #605 from gregurco/fix-doc
Fix doctrine types attribute in documentation
2 parents 5a81825 + 5cc7b5d commit d797eca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,10 @@ for Doctrine's ORM:
332332
{
333333
#[ORM\Id]
334334
#[ORM\GeneratedValue(strategy: 'AUTO')]
335-
#[ORM\Column(type: Types:INT)]
335+
#[ORM\Column(type: Types::INTEGER)]
336336
private $id;
337337
338-
#[ORM\Column(type: Types:STRING, length: 255)]
338+
#[ORM\Column(type: Types::STRING, length: 255)]
339339
private $name;
340340
341341
.. code-block:: php-annotations

0 commit comments

Comments
 (0)