diff options
Diffstat (limited to 'MLEB/Translate/utils/MessageGroupStatesUpdaterJob.php')
-rw-r--r-- | MLEB/Translate/utils/MessageGroupStatesUpdaterJob.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MLEB/Translate/utils/MessageGroupStatesUpdaterJob.php b/MLEB/Translate/utils/MessageGroupStatesUpdaterJob.php index c40bc4ec..dda4a8f9 100644 --- a/MLEB/Translate/utils/MessageGroupStatesUpdaterJob.php +++ b/MLEB/Translate/utils/MessageGroupStatesUpdaterJob.php @@ -8,6 +8,8 @@ * @license GPL-2.0-or-later */ +use MediaWiki\Extensions\Translate\SystemUsers\FuzzyBot; + /** * Logic for handling automatic message group state changes * @@ -128,7 +130,7 @@ class MessageGroupStatesUpdaterJob extends Job { */ public static function getNewState( $stats, $transitions ) { foreach ( $transitions as $transition ) { - list( $newState, $conds ) = $transition; + [ $newState, $conds ] = $transition; $match = true; foreach ( $conds as $type => $cond ) { |