repo/includes/Api/QuerySearchEntities.php
Method getAllowedParams
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function getAllowedParams(): array {
return [
'search' => [
ParamValidator::PARAM_TYPE => 'string',
ParamValidator::PARAM_REQUIRED => true,
Method __construct
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiQuery $apiQuery,
string $moduleName,
LinkBatchFactory $linkBatchFactory,
EntitySearchHelper $entitySearchHelper,
EntityTitleLookup $titleLookup,
Method factory
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ApiQuery $apiQuery,
string $moduleName,
LinkBatchFactory $linkBatchFactory,
array $enabledEntityTypes,
array $entitySearchHelperCallbacks,