From eb65077dd86d417cf895a21c12d2cf27933fb4ac Mon Sep 17 00:00:00 2001 From: thiemowmde Date: Wed, 20 Nov 2024 08:11:59 +0100 Subject: [PATCH] Fix mistakes in inline @var comments Change-Id: Idca575d4a6dd69b30f3ccb6b4dccadb38721780d --- includes/Notifications/EventDispatcher.php | 2 +- .../Notifications/SubscribedNewCommentPresentationModel.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(),