parameters now are having a default value and are optional
This commit is contained in:
@@ -13,7 +13,7 @@ use Friendica\Util\Strings;
|
||||
*/
|
||||
class Like extends BaseModule
|
||||
{
|
||||
public static function rawContent($parameters)
|
||||
public static function rawContent(array $parameters = [])
|
||||
{
|
||||
if (!Session::isAuthenticated()) {
|
||||
throw new HTTPException\ForbiddenException();
|
||||
|
||||
Reference in New Issue
Block a user