Skip to content

Commit 5b219f8

Browse files
committed
Fix doctrine/dbal 2.13 incompatibility
1 parent 2c1b1b6 commit 5b219f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dbal/AclProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\Security\Acl\Dbal;
1313

1414
use Doctrine\DBAL\Connection;
15-
use Doctrine\DBAL\Driver\Statement;
15+
use Doctrine\DBAL\Result;
1616
use Symfony\Component\Security\Acl\Domain\Acl;
1717
use Symfony\Component\Security\Acl\Domain\Entry;
1818
use Symfony\Component\Security\Acl\Domain\FieldEntry;
@@ -481,7 +481,7 @@ private function lookupObjectIdentities(array $batch, array $sids, array $oidLoo
481481
*
482482
* @throws \RuntimeException
483483
*/
484-
private function hydrateObjectIdentities(Statement $stmt, array $oidLookup, array $sids)
484+
private function hydrateObjectIdentities(Result $stmt, array $oidLookup, array $sids)
485485
{
486486
$parentIdToFill = new \SplObjectStorage();
487487
$acls = $aces = $emptyArray = [];

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"symfony/phpunit-bridge": "^3.4|^4.4|^5.0",
2424
"doctrine/common": "~2.2",
2525
"doctrine/persistence": "^1.3.3",
26-
"doctrine/dbal": "~2.2",
26+
"doctrine/dbal": "^2.13",
2727
"psr/log": "~1.0"
2828
},
2929
"autoload": {

0 commit comments

Comments
 (0)