mirror of
https://github.com/friendica/friendica
synced 2024-11-18 17:03:41 +00:00
added type-hint
This commit is contained in:
parent
347d959f25
commit
b321ef776d
1 changed files with 1 additions and 1 deletions
|
@ -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, '');
|
||||
|
|
Loading…
Reference in a new issue