From: Philipp Holzer Date: Thu, 14 Feb 2019 16:54:34 +0000 (+0100) Subject: added type-hint X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b321ef776d56d999cf74718c345bcbcaa2c27747;p=friendica.git added type-hint --- diff --git a/src/Core/Installer.php b/src/Core/Installer.php index 02d9509610..4a287a885f 100644 --- a/src/Core/Installer.php +++ b/src/Core/Installer.php @@ -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, '');