Fixing installer

This commit is contained in:
Philipp Holzer 2019-07-21 01:30:28 +02:00
parent 55999730e0
commit a8e6a57e9b
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
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;