Skip to content

Commit d957600

Browse files
authored
Update doctrine.rst
Since 5.4, documentation inject ManagerRegistry but kept Doctrine\ORM\EntityManagerInterface in uses.
1 parent eee8c62 commit d957600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ and save it::
361361

362362
// ...
363363
use App\Entity\Product;
364-
use Doctrine\ORM\EntityManagerInterface;
364+
use Doctrine\Persistence\ManagerRegistry;
365365
use Symfony\Component\HttpFoundation\Response;
366366

367367
class ProductController extends AbstractController

0 commit comments

Comments
 (0)