Skip to content

Commit 5a5a6cd

Browse files
committed
minor #16086 Update type declaration for Doctrine DBAL Connection (gndk)
This PR was merged into the 5.3 branch. Discussion ---------- Update type declaration for Doctrine DBAL Connection In doctrine/dbal 3.0.0 Doctrine\DBAL\Driver\Connection has become an internal interface and the wrapper-level Doctrine\DBAL\Connection should be used. Related: https://github.com/doctrine/dbal/releases/tag/3.0.0 doctrine/dbal#4159 Commits ------- 3e4c7d7 Update type declaration for Doctrine DBAL Connection
2 parents 9343643 + 3e4c7d7 commit 5a5a6cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine/dbal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ object::
4747
// src/Controller/UserController.php
4848
namespace App\Controller;
4949

50-
use Doctrine\DBAL\Driver\Connection;
50+
use Doctrine\DBAL\Connection;
5151
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
5252
use Symfony\Component\HttpFoundation\Response;
5353

0 commit comments

Comments
 (0)