Skip to content

Commit b6d55ff

Browse files
authored
Merge pull request #96 from tyrsson/abstractpdo-readonly-fix
Remove readonly constraint from AbstractPdo driver to allow concrete …
2 parents b3df2ff + 689a1e6 commit b6d55ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Adapter/Driver/Pdo/AbstractPdo.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ abstract class AbstractPdo implements PdoDriverInterface, ProfilerAwareInterface
3131
protected ?ProfilerInterface $profiler;
3232

3333
public function __construct(
34-
protected readonly AbstractPdoConnection|PDO $connection,
35-
protected readonly StatementInterface&PdoDriverAwareInterface $statementPrototype,
36-
protected readonly ResultInterface $resultPrototype,
34+
protected AbstractPdoConnection|PDO $connection,
35+
protected StatementInterface&PdoDriverAwareInterface $statementPrototype,
36+
protected ResultInterface $resultPrototype,
3737
array $features = [],
3838
) {
3939
if ($this->connection instanceof PdoDriverAwareInterface) {

0 commit comments

Comments
 (0)