From 7aa0c0db7641c07ff3707daa0cf3f5c68f421ba5 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Sun, 12 Apr 2026 23:20:40 -0500 Subject: [PATCH] Somehow pdo driver was missed Signed-off-by: Joey Smith --- src/Pdo/Driver.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Pdo/Driver.php b/src/Pdo/Driver.php index ddfd553..acf17cf 100644 --- a/src/Pdo/Driver.php +++ b/src/Pdo/Driver.php @@ -10,6 +10,7 @@ use PhpDb\Adapter\Driver\Feature\DriverFeatureProviderInterface; use PhpDb\Adapter\Driver\Pdo\AbstractPdo; use PhpDb\Adapter\Driver\Pdo\Result; +use PhpDb\Adapter\Driver\Pdo\Statement; use PhpDb\Adapter\Driver\PdoConnectionInterface; use PhpDb\Adapter\Driver\PdoDriverAwareInterface; use PhpDb\Adapter\Driver\ResultInterface; @@ -19,8 +20,8 @@ class Driver extends AbstractPdo { public function __construct( (PdoConnectionInterface&PdoDriverAwareInterface)|PDO $connection, - StatementInterface&PdoDriverAwareInterface $statementPrototype, - ResultInterface $resultPrototype, + StatementInterface&PdoDriverAwareInterface $statementPrototype = new Statement(), + ResultInterface $resultPrototype = new Result(), array $features = [], ) { $this->connection = $connection;