diff --git a/includes/Notifications/EventDispatcher.php b/includes/Notifications/EventDispatcher.php index 627d643a9..60d469769 100644 --- a/includes/Notifications/EventDispatcher.php +++ b/includes/Notifications/EventDispatcher.php @@ -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 ); } diff --git a/includes/Notifications/SubscribedNewCommentPresentationModel.php b/includes/Notifications/SubscribedNewCommentPresentationModel.php index 23b5a07a6..7f0b2f34b 100644 --- a/includes/Notifications/SubscribedNewCommentPresentationModel.php +++ b/includes/Notifications/SubscribedNewCommentPresentationModel.php @@ -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(),