added type-hint
authorPhilipp Holzer <admin@philipp.info>
Thu, 14 Feb 2019 16:54:34 +0000 (17:54 +0100)
committerPhilipp Holzer <admin@philipp.info>
Thu, 14 Feb 2019 16:54:34 +0000 (17:54 +0100)
src/Core/Installer.php

index 02d9509..4a287a8 100644 (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, '');