diff --git a/doctrine.rst b/doctrine.rst index eae1a934b5d..4fcfaf6b7ae 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -680,7 +680,7 @@ Updating an Object Once you've fetched an object from Doctrine, updating it is easy. Suppose you have a route that maps a product id to an update action in a controller:: - use AppBundle\Entity\Post; + use AppBundle\Entity\Product; // ... public function updateAction($productId)