We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2c02fa commit 88655a9Copy full SHA for 88655a9
form/form_collections.rst
@@ -17,7 +17,7 @@ Let's start by creating a ``Task`` entity::
17
class Task
18
{
19
protected string $description;
20
- protected ArrayCollection $tags;
+ protected Collection $tags;
21
22
public function __construct()
23
@@ -466,7 +466,7 @@ you will learn about next!).
466
// ...
467
468
#[ORM\ManyToMany(targetEntity: Tag::class, cascade: ['persist'])]
469
- protected array $tags;
470
471
.. code-block:: yaml
472
0 commit comments