mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-25 00:38:33 +00:00
0d57aa9762
Bug: T284836 Change-Id: Ia42ad087218fd91a0cdd1664157d1049738e3c01
33 lines
791 B
PHP
33 lines
791 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\DiscussionTools\Tests;
|
|
|
|
use MediaWiki\Extension\DiscussionTools\SubscriptionStore;
|
|
use MediaWiki\User\UserIdentity;
|
|
|
|
class MockSubscriptionStore extends SubscriptionStore {
|
|
|
|
/**
|
|
* @param mixed ...$args Unused, required for inheritance
|
|
*/
|
|
public function __construct( ...$args ) {
|
|
}
|
|
|
|
/**
|
|
* @param UserIdentity $user Unused, required for inheritance
|
|
* @param array|null $itemNames Unused, required for inheritance
|
|
* @param int[]|null $state Unused, required for inheritance
|
|
* @param array $options Unused, required for inheritance
|
|
* @return SubscriptionItem[]
|
|
*/
|
|
public function getSubscriptionItemsForUser(
|
|
UserIdentity $user,
|
|
?array $itemNames = null,
|
|
?array $state = null,
|
|
array $options = []
|
|
): array {
|
|
return [];
|
|
}
|
|
|
|
}
|