Type hint against LinkTarget in WatchedItemStore
authorUmherirrender <umherirrender_de.wp@web.de>
Tue, 11 Jun 2019 19:07:07 +0000 (21:07 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Tue, 11 Jun 2019 19:07:07 +0000 (21:07 +0200)
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

index 1a39945..0b73fe3 100644 (file)
@@ -383,7 +383,7 @@ class WatchedItemStore implements WatchedItemStoreInterface, StatsdAwareInterfac
 
        /**
         * @param UserIdentity $user
-        * @param TitleValue[] $titles
+        * @param LinkTarget[] $titles
         * @return bool
         * @throws MWException
         */