Skip to content

Commit 231108d

Browse files
authored
Update ConfigProvider.php
1 parent d822fee commit 231108d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ConfigProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static function createDatabaseConfig(ContainerInterface $container): Data
7979
if (!isset($config[self::CONFIG_KEY])) {
8080
throw new \RuntimeException('Database configuration expected');
8181
}
82-
return new DatabaseConfig($config[self::CONFIG_KEY][0]->toArray());
82+
return new DatabaseConfig($config->get(self::CONFIG_KEY)[0]);
8383
}
8484

8585
public static function createHeap(ContainerInterface $container): Heap

0 commit comments

Comments
 (0)