mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-23 16:06:53 +00:00
Merge "Fix mistakes in inline @var comments"
This commit is contained in:
commit
86d42c6ef9
|
@ -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