1
0
Fork 0

Replace $parameters argument per method with static::$parameters

This commit is contained in:
Philipp Holzer 2021-11-14 20:46:25 +01:00
commit 714f0febc4
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
249 changed files with 710 additions and 775 deletions

View file

@ -35,10 +35,9 @@ use Friendica\Protocol\Activity;
class Favourited 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();