added type-hint

This commit is contained in:
Philipp Holzer 2019-02-14 17:54:34 +01:00
parent 347d959f25
commit b321ef776d
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5

View File

@ -591,7 +591,7 @@ class Installer
* @return bool true if the check was successful, otherwise false
* @throws Exception
*/
public function checkDB($configCache, $dbhost, $dbuser, $dbpass, $dbdata)
public function checkDB(ConfigCache $configCache, $dbhost, $dbuser, $dbpass, $dbdata)
{
if (!DBA::connect($configCache, $dbhost, $dbuser, $dbpass, $dbdata)) {
$this->addCheck(L10n::t('Could not connect to database.'), false, true, '');