Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace GrowthExperiments\NewcomerTasks\AddLink;
4
5use GrowthExperiments\NewcomerTasks\RecommendationProvider;
6use GrowthExperiments\NewcomerTasks\TaskType\LinkRecommendationTaskType;
7use GrowthExperiments\NewcomerTasks\TaskType\TaskType;
8use MediaWiki\Linker\LinkTarget;
9use StatusValue;
10
11/** @inheritDoc */
12interface LinkRecommendationProvider extends RecommendationProvider {
13    // This is identical to the parent class, it just exists as a placeholder for the type hint.
14
15    /**
16     * @inheritDoc
17     * @param LinkRecommendationTaskType $taskType
18     * @phan-param TaskType $taskType
19     * @return LinkRecommendation|StatusValue
20     */
21    public function get( LinkTarget $title, TaskType $taskType );
22
23}