Skip to content

Commit 8e8144f

Browse files
committed
minor #6213 Update form_collections.rst (insekticid)
This PR was submitted for the 3.0 branch but it was merged into the 2.8 branch instead (closes #6213). Discussion ---------- Update form_collections.rst removed new from new TaskType::class Commits ------- bb96dc6 Update form_collections.rst
2 parents f7adcfa + bb96dc6 commit 8e8144f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/form/form_collections.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ the relationship between the removed ``Tag`` and ``Task`` object.
689689
$originalTags->add($tag);
690690
}
691691

692-
$editForm = $this->createForm(new TaskType::class, $task);
692+
$editForm = $this->createForm(TaskType::class, $task);
693693

694694
$editForm->handleRequest($request);
695695

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy