Skip to content

Commit

Permalink
Update type declaration for Doctrine DBAL Connection
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gndk authored Nov 8, 2021
1 parent 08889fb commit 3e4c7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doctrine/dbal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ object::
// src/Controller/UserController.php
namespace App\Controller;

use Doctrine\DBAL\Driver\Connection;
use Doctrine\DBAL\Connection;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;

Expand Down

0 comments on commit 3e4c7d7

Please sign in to comment.