Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
GroupsAid | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
getData | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | declare( strict_types = 1 ); |
3 | |
4 | namespace MediaWiki\Extension\Translate\TranslatorInterface\Aid; |
5 | |
6 | /** |
7 | * @author Niklas Laxström |
8 | * @license GPL-2.0-or-later |
9 | * @since 2021.05 |
10 | */ |
11 | class GroupsAid extends TranslationAid { |
12 | public function getData(): array { |
13 | return [ '**' => 'group' ] + $this->handle->getGroupIds(); |
14 | } |
15 | } |