We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d822fee commit 231108dCopy full SHA for 231108d
src/ConfigProvider.php
@@ -79,7 +79,7 @@ public static function createDatabaseConfig(ContainerInterface $container): Data
79
if (!isset($config[self::CONFIG_KEY])) {
80
throw new \RuntimeException('Database configuration expected');
81
}
82
- return new DatabaseConfig($config[self::CONFIG_KEY][0]->toArray());
+ return new DatabaseConfig($config->get(self::CONFIG_KEY)[0]);
83
84
85
public static function createHeap(ContainerInterface $container): Heap
0 commit comments