<?php
/**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
$this->dba = $dba;
}
- protected function doExecute()
+ protected function doExecute(): int
{
// Initialise the app
$this->out("Initializing setup...");
$installer->resetChecks();
- if (!$installer->installDatabase($basePathConf)) {
+ if (!$installer->installDatabase()) {
$errorMessage = $this->extractErrors($installer->getChecks());
throw new RuntimeException($errorMessage);
}