Skip to content

Commit 0c93aaa

Browse files
committed
Remove readonly from adapter
Signed-off-by: Joey Smith <jsmith@webinertia.net> Signed-off-by: Joey Smith <jsmith@webinertia.net>
1 parent 3d3a3b6 commit 0c93aaa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Adapter/Adapter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ class Adapter implements AdapterInterface, Profiler\ProfilerAwareInterface, Sche
2020
* @throws Exception\InvalidArgumentException
2121
*/
2222
public function __construct(
23-
protected readonly Driver\DriverInterface $driver,
24-
protected readonly Platform\PlatformInterface $platform,
25-
protected readonly ResultSet\ResultSetInterface $queryResultSetPrototype,
23+
protected Driver\DriverInterface $driver,
24+
protected Platform\PlatformInterface $platform,
25+
protected ResultSet\ResultSetInterface $queryResultSetPrototype = new ResultSet\ResultSet(),
2626
protected ?Profiler\ProfilerInterface $profiler = null
2727
) {
2828
if ($profiler) {

0 commit comments

Comments
 (0)