mirror of
https://github.com/friendica/friendica
synced 2025-04-25 19:10: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
|
@ -32,7 +32,7 @@ class UserExport extends BaseSettingsModule
|
|||
* If there is an action required through the URL / path, react
|
||||
* accordingly and export the requested data.
|
||||
**/
|
||||
public static function content($parameters)
|
||||
public static function content(array $parameters = [])
|
||||
{
|
||||
parent::content($parameters);
|
||||
|
||||
|
@ -59,7 +59,7 @@ class UserExport extends BaseSettingsModule
|
|||
* to the browser which then offers a save / open dialog
|
||||
* to the user.
|
||||
**/
|
||||
public static function rawContent($parameters)
|
||||
public static function rawContent(array $parameters = [])
|
||||
{
|
||||
$args = self::getClass(Arguments::class);
|
||||
if ($args->getArgc() == 3) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue