mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-23 16:06:53 +00:00
Fix mistakes in inline @var comments
Change-Id: Idca575d4a6dd69b30f3ccb6b4dccadb38721780d
This commit is contained in:
parent
7acd730719
commit
eb65077dd8
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue