Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
MergeLexemesStatus | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
newMerge | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | declare( strict_types = 1 ); |
4 | |
5 | namespace Wikibase\Lexeme\Interactors\MergeLexemes; |
6 | |
7 | use MediaWiki\Context\IContextSource; |
8 | use MediaWiki\User\UserIdentity; |
9 | use Wikibase\Repo\TempUserStatus; |
10 | |
11 | /** |
12 | * @license GPL-2.0-or-later |
13 | */ |
14 | class MergeLexemesStatus extends TempUserStatus { |
15 | |
16 | public static function newMerge( |
17 | // no custom data at the moment |
18 | ?UserIdentity $savedTempUser, |
19 | IContextSource $context |
20 | ): self { |
21 | return self::newTempUserStatus( [], $savedTempUser, $context ); |
22 | } |
23 | |
24 | } |