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\AddImage;
4
5use GrowthExperiments\NewcomerTasks\RecommendationProvider;
6use GrowthExperiments\NewcomerTasks\TaskType\ImageRecommendationTaskType;
7use GrowthExperiments\NewcomerTasks\TaskType\TaskType;
8use MediaWiki\Linker\LinkTarget;
9use StatusValue;
10
11/** @inheritDoc */
12interface ImageRecommendationProvider 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 ImageRecommendationTaskType $taskType
18     * @phan-param TaskType $taskType
19     * @return ImageRecommendation|StatusValue
20     */
21    public function get( LinkTarget $title, TaskType $taskType );
22
23}