mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-16 20:58:28 +00:00
5103e651be
Change-Id: Ief9648b8805fadcc170c54b627eb669cc8b907b6
33 lines
775 B
PHP
33 lines
775 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 string|null $itemName Unused, required for inheritance
|
|
* @param int|null $state Unused, required for inheritance
|
|
* @param array $options Unused, required for inheritance
|
|
* @return array
|
|
*/
|
|
public function getSubscriptionItemsForUser(
|
|
UserIdentity $user,
|
|
?string $itemName = null,
|
|
?int $state = null,
|
|
array $options = []
|
|
) : array {
|
|
return [];
|
|
}
|
|
|
|
}
|