diff --git a/src/Adapter/Adapter.php b/src/Adapter/Adapter.php index f2011303..9d88f2fa 100644 --- a/src/Adapter/Adapter.php +++ b/src/Adapter/Adapter.php @@ -20,9 +20,9 @@ class Adapter implements AdapterInterface, Profiler\ProfilerAwareInterface, Sche * @throws Exception\InvalidArgumentException */ public function __construct( - protected readonly Driver\DriverInterface $driver, - protected readonly Platform\PlatformInterface $platform, - protected readonly ResultSet\ResultSetInterface $queryResultSetPrototype, + protected Driver\DriverInterface $driver, + protected Platform\PlatformInterface $platform, + protected ResultSet\ResultSetInterface $queryResultSetPrototype = new ResultSet\ResultSet(), protected ?Profiler\ProfilerInterface $profiler = null ) { if ($profiler) { diff --git a/src/Container/AdapterAbstractServiceFactory.php b/src/Container/AdapterAbstractServiceFactory.php index 52e6ceb5..37cbe09a 100644 --- a/src/Container/AdapterAbstractServiceFactory.php +++ b/src/Container/AdapterAbstractServiceFactory.php @@ -16,6 +16,8 @@ * Database adapter abstract service factory. * * Allows configuring several database instances (such as writer and reader). + * + * @internal */ class AdapterAbstractServiceFactory implements AbstractFactoryInterface {