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 | |
3 | namespace GrowthExperiments\NewcomerTasks\AddLink; |
4 | |
5 | use GrowthExperiments\NewcomerTasks\RecommendationProvider; |
6 | use GrowthExperiments\NewcomerTasks\TaskType\LinkRecommendationTaskType; |
7 | use GrowthExperiments\NewcomerTasks\TaskType\TaskType; |
8 | use MediaWiki\Linker\LinkTarget; |
9 | use StatusValue; |
10 | |
11 | /** @inheritDoc */ |
12 | interface 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 | } |