diff --git a/cookbook/form/form_collections.rst b/cookbook/form/form_collections.rst index 9793a67d357..4ea4c809f34 100644 --- a/cookbook/form/form_collections.rst +++ b/cookbook/form/form_collections.rst @@ -681,7 +681,7 @@ the relationship between the removed ``Tag`` and ``Task`` object. $task = $em->getRepository('AcmeTaskBundle:Task')->find($id); if (!$task) { - throw $this->createNotFoundException('No task found for is '.$id); + throw $this->createNotFoundException('No task found for id '.$id); } $originalTags = new ArrayCollection();