Skip to content

Commit d31e17f

Browse files
committed
minor symfony#18318 [Doctrine] Add missing use statement to databases & doctrine page (jontjs)
This PR was merged into the 6.2 branch. Discussion ---------- [Doctrine] Add missing `use` statement to databases & doctrine page The example at https://symfony.com/doc/current/doctrine.html#updating-an-object is missing a `use` statement. Commits ------- ae34e2c Add missing `use` statement to databases & doctrine page
2 parents ff62e12 + ae34e2c commit d31e17f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doctrine.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ with any PHP model::
813813

814814
use App\Entity\Product;
815815
use App\Repository\ProductRepository;
816+
use Doctrine\ORM\EntityManagerInterface;
816817
use Symfony\Component\HttpFoundation\Response;
817818
use Symfony\Component\Routing\Annotation\Route;
818819
// ...

0 commit comments

Comments
 (0)