Skip to content

Commit 7b33872

Browse files
committed
minor symfony#59487 [DoctrineBridge] Fix type on IdleConnection\Driver::$connectionExpiries (derrabus)
This PR was merged into the 7.3 branch. Discussion ---------- [DoctrineBridge] Fix type on `IdleConnection\Driver::$connectionExpiries` | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | N/A | License | MIT We should be more precise about what kind of `ArrayObject` we expect. This fixes a static analysis problem we have on the DoctrineBundle repository. Commits ------- 1a76f12 [DoctrineBridge] Fix type on IdleConnection\Driver::$connectionExpiries
2 parents 0d0758e + 1a76f12 commit 7b33872

File tree

1 file changed

+3
-0
lines changed
  • src/Symfony/Bridge/Doctrine/Middleware/IdleConnection

1 file changed

+3
-0
lines changed

src/Symfony/Bridge/Doctrine/Middleware/IdleConnection/Driver.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
final class Driver extends AbstractDriverMiddleware
1919
{
20+
/**
21+
* @param \ArrayObject<string, int> $connectionExpiries
22+
*/
2023
public function __construct(
2124
DriverInterface $driver,
2225
private \ArrayObject $connectionExpiries,

0 commit comments

Comments
 (0)