Replace $parameters argument per method with static::$parameters
This commit is contained in:
@@ -34,10 +34,9 @@ use Friendica\Network\HTTPException;
|
||||
class Home extends BaseApi
|
||||
{
|
||||
/**
|
||||
* @param array $parameters
|
||||
* @throws HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function rawContent(array $parameters = [])
|
||||
public static function rawContent()
|
||||
{
|
||||
self::checkAllowedScope(self::SCOPE_READ);
|
||||
$uid = self::getCurrentUserID();
|
||||
|
||||
Reference in New Issue
Block a user