]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Installer.php
Avoid memory issue in exception
[friendica.git] / src / Core / Installer.php
index 02d95096101f1b0fc93b31bd5bac02492c8f5245..4a287a885f50e9d5e47988de099608fe567f4e74 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, '');