From: Umherirrender Date: Tue, 11 Jun 2019 19:07:07 +0000 (+0200) Subject: Type hint against LinkTarget in WatchedItemStore X-Git-Tag: 1.34.0-rc.0~881^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Category:Foo?a=commitdiff_plain;h=f17f841a9dfa1bee3f8ed47a09f06d1226452573;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 */