Skip to content

Commit 3e4c7d7

Browse files
authored
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.
1 parent 08889fb commit 3e4c7d7

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)