From 689a1e678509dfe323331d8b8730f3212ca88701 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Mon, 1 Dec 2025 21:58:21 -0600 Subject: [PATCH] Remove readonly constraint from AbstractPdo driver to allow concrete classes to provide defaults. Signed-off-by: Joey Smith Signed-off-by: Joey Smith --- src/Adapter/Driver/Pdo/AbstractPdo.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Adapter/Driver/Pdo/AbstractPdo.php b/src/Adapter/Driver/Pdo/AbstractPdo.php index 0e2d93d7..9087757d 100644 --- a/src/Adapter/Driver/Pdo/AbstractPdo.php +++ b/src/Adapter/Driver/Pdo/AbstractPdo.php @@ -31,9 +31,9 @@ abstract class AbstractPdo implements PdoDriverInterface, ProfilerAwareInterface protected ?ProfilerInterface $profiler; public function __construct( - protected readonly AbstractPdoConnection|PDO $connection, - protected readonly StatementInterface&PdoDriverAwareInterface $statementPrototype, - protected readonly ResultInterface $resultPrototype, + protected AbstractPdoConnection|PDO $connection, + protected StatementInterface&PdoDriverAwareInterface $statementPrototype, + protected ResultInterface $resultPrototype, array $features = [], ) { if ($this->connection instanceof PdoDriverAwareInterface) {