repo/includes/Api/CreateRedirect.php
Method __construct
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiMain $mainModule,
string $moduleName,
EntityIdParser $idParser,
ApiErrorReporter $errorReporter,
ItemRedirectCreationInteractor $interactor,
Method factory
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiMain $apiMain,
string $moduleName,
PermissionManager $permissionManager,
ApiHelperFactory $apiHelperFactory,
EntityIdParser $entityIdParser,
Method createRedirect
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private function createRedirect( EntityId $fromId, EntityId $toId, bool $bot, ApiResult $result, array $params ): void {