Skip to content

Commit

Permalink
minor #16086 Update type declaration for Doctrine DBAL Connection (gndk)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
javiereguiluz committed Nov 8, 2021
2 parents 9343643 + 3e4c7d7 commit 5a5a6cd
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 5a5a6cd

Please sign in to comment.