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 MediaWiki\Extension\SimilarEditors; |
4 | |
5 | interface Client { |
6 | |
7 | /** |
8 | * Retrieve the queried editor |
9 | * |
10 | * @param string $target |
11 | * @return Editor|null |
12 | */ |
13 | public function getEditor( string $target ); |
14 | |
15 | /** |
16 | * Retrieve similar editors, or an error message key |
17 | * |
18 | * @param string $target |
19 | * @return Neighbor[]|string |
20 | */ |
21 | public function getSimilarEditors( string $target ); |
22 | } |