Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
MergeLexemesStatus
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 newMerge
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3declare( strict_types = 1 );
4
5namespace Wikibase\Lexeme\Interactors\MergeLexemes;
6
7use MediaWiki\Context\IContextSource;
8use MediaWiki\User\UserIdentity;
9use Wikibase\Repo\TempUserStatus;
10
11/**
12 * @license GPL-2.0-or-later
13 */
14class 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}