Skip to content

Commit 62d7d16

Browse files
committed
Fix $tags type
1 parent 4de0ccd commit 62d7d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

form/form_collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ you will learn about next!).
466466
// ...
467467
468468
#[ORM\ManyToMany(targetEntity: Tag::class, cascade: ['persist'])]
469-
protected array $tags;
469+
protected Collection $tags;
470470
471471
.. code-block:: yaml
472472

0 commit comments

Comments
 (0)