2021-04-19 19:42:53 +00:00
|
|
|
<?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
|
2021-04-23 18:54:49 +00:00
|
|
|
* @param array|null $itemNames Unused, required for inheritance
|
2021-04-19 19:42:53 +00:00
|
|
|
* @param int|null $state Unused, required for inheritance
|
|
|
|
* @param array $options Unused, required for inheritance
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function getSubscriptionItemsForUser(
|
|
|
|
UserIdentity $user,
|
2021-04-23 18:54:49 +00:00
|
|
|
?array $itemNames = null,
|
2021-04-19 19:42:53 +00:00
|
|
|
?int $state = null,
|
|
|
|
array $options = []
|
2021-07-22 07:25:13 +00:00
|
|
|
): array {
|
2021-04-19 19:42:53 +00:00
|
|
|
return [];
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|