Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Adapter/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 2 additions & 0 deletions src/Container/AdapterAbstractServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
* Database adapter abstract service factory.
*
* Allows configuring several database instances (such as writer and reader).
*
* @internal
*/
class AdapterAbstractServiceFactory implements AbstractFactoryInterface
{
Expand Down
Loading