mirror of
https://github.com/friendica/friendica
synced 2025-04-19 08:30:11 +00:00
parameters now are having a default value and are optional
This commit is contained in:
parent
bc2694bf7f
commit
8c03bdada9
110 changed files with 1840 additions and 165 deletions
|
@ -46,7 +46,7 @@ class Install extends BaseModule
|
|||
*/
|
||||
private static $installer;
|
||||
|
||||
public static function init($parameters)
|
||||
public static function init(array $parameters = [])
|
||||
{
|
||||
$a = self::getApp();
|
||||
|
||||
|
@ -76,7 +76,7 @@ class Install extends BaseModule
|
|||
self::$currentWizardStep = ($_POST['pass'] ?? '') ?: self::SYSTEM_CHECK;
|
||||
}
|
||||
|
||||
public static function post($parameters)
|
||||
public static function post(array $parameters = [])
|
||||
{
|
||||
$a = self::getApp();
|
||||
$configCache = $a->getConfigCache();
|
||||
|
@ -149,7 +149,7 @@ class Install extends BaseModule
|
|||
}
|
||||
}
|
||||
|
||||
public static function content($parameters)
|
||||
public static function content(array $parameters = [])
|
||||
{
|
||||
$a = self::getApp();
|
||||
$configCache = $a->getConfigCache();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue