diff --git a/docs/en/reference/working-with-associations.rst b/docs/en/reference/working-with-associations.rst index 7e088f944..0768c3ede 100644 --- a/docs/en/reference/working-with-associations.rst +++ b/docs/en/reference/working-with-associations.rst @@ -453,7 +453,7 @@ following code: $user->addComment($myFirstComment); $em->persist($user); - $em->persist($myFirstComment); // mandatory if `cascade: persist` isn't set + $em->persist($myFirstComment); // required, if `cascade: persist` isn't set $em->flush(); Even if you *persist* a new User that contains our new Comment this