From f17f841a9dfa1bee3f8ed47a09f06d1226452573 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Tue, 11 Jun 2019 21:07:07 +0200 Subject: [PATCH] Type hint against LinkTarget in WatchedItemStore Type hint against the interface LinkTarget, not the implemenation TitleValue The whole class is using the interface for type hinting, so this is more consistency Change-Id: Ic76926f077a731e4317dd3de6ed532b9fd8eb840 --- includes/watcheditem/WatchedItemStore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/watcheditem/WatchedItemStore.php b/includes/watcheditem/WatchedItemStore.php index 1a39945067..0b73fe34db 100644 --- a/includes/watcheditem/WatchedItemStore.php +++ b/includes/watcheditem/WatchedItemStore.php @@ -383,7 +383,7 @@ class WatchedItemStore implements WatchedItemStoreInterface, StatsdAwareInterfac /** * @param UserIdentity $user - * @param TitleValue[] $titles + * @param LinkTarget[] $titles * @return bool * @throws MWException */ -- 2.20.1