Replace $parameters argument per method with static::$parameters
This commit is contained in:
@@ -32,7 +32,7 @@ use Friendica\Network\Probe as NetworkProbe;
|
||||
*/
|
||||
class Probe extends BaseModule
|
||||
{
|
||||
public static function content(array $parameters = [])
|
||||
public static function content()
|
||||
{
|
||||
if (!local_user()) {
|
||||
throw new HTTPException\ForbiddenException(DI::l10n()->t('Only logged in users are permitted to perform a probing.'));
|
||||
|
||||
Reference in New Issue
Block a user