mirror of
https://github.com/friendica/friendica
synced 2025-04-24 01:50:17 +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
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue