Fixing installer

This commit is contained in:
Philipp Holzer
2019-07-21 01:30:28 +02:00
parent 55999730e0
commit a8e6a57e9b
5 changed files with 7 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ class Database
private $in_retrial = false;
private $relation = [];
public function __construct(ConfigCache $configCache, Profiler $profiler, LoggerInterface $logger, array $server)
public function __construct(ConfigCache $configCache, Profiler $profiler, LoggerInterface $logger, array $server = [])
{
// We are storing these values for being able to perform a reconnect
$this->configCache = $configCache;