parameters now are having a default value and are optional

This commit is contained in:
Michael 2019-11-05 21:48:54 +00:00
parent bc2694bf7f
commit 8c03bdada9
110 changed files with 1840 additions and 165 deletions

View file

@ -20,7 +20,7 @@ class Attach extends BaseModule
/**
* @brief Return to user an attached file given the id
*/
public static function rawContent($parameters)
public static function rawContent(array $parameters = [])
{
$a = self::getApp();
if ($a->argc != 2) {