diff --git a/doctrine/associations.rst b/doctrine/associations.rst index 22ad1bf40d3..804cb6659f2 100644 --- a/doctrine/associations.rst +++ b/doctrine/associations.rst @@ -273,7 +273,7 @@ When you need to fetch associated objects, your workflow looks just like it did before. First, fetch a ``$product`` object and then access its related ``Category`` object:: - use AppBundle\Entity\Post; + use AppBundle\Entity\Product; // ... public function showAction($productId)