Merge "Fix mistakes in inline @var comments"

This commit is contained in:
jenkins-bot 2024-11-20 14:56:03 +00:00 committed by Gerrit Code Review
commit 86d42c6ef9
2 changed files with 2 additions and 2 deletions

View file

@ -354,7 +354,7 @@ class EventDispatcher {
$dtConfig->get( 'DiscussionToolsAutoTopicSubEditor' ) === 'any' &&
HookUtils::shouldAddAutoSubscription( $user, $title )
) {
/** @var SubscriptionStore $parser */
/** @var SubscriptionStore $subscriptionStore */
$subscriptionStore = MediaWikiServices::getInstance()->getService( 'DiscussionTools.SubscriptionStore' );
$subscriptionStore->addAutoSubscriptionForUser( $user, $title, $itemName );
}

View file

@ -142,7 +142,7 @@ class SubscribedNewCommentPresentationModel extends EchoEventPresentationModel {
$viewChangesLink,
];
/** @var SubscriptionStore $parser */
/** @var SubscriptionStore $subscriptionStore */
$subscriptionStore = MediaWikiServices::getInstance()->getService( 'DiscussionTools.SubscriptionStore' );
$items = $subscriptionStore->getSubscriptionItemsForUser(
$this->getUser(),