Merge "HTML escape parameter 'text' of hook 'SkinEditSectionLinks'"
[lhc/web/wiklou.git] / includes / watcheditem / WatchedItemStoreInterface.php
index 299c222..5ff29d0 100644 (file)
@@ -252,7 +252,7 @@ interface WatchedItemStoreInterface {
         * @since 1.31
         *
         * @param UserIdentity $user
-        * @param Title $title
+        * @param LinkTarget $title
         * @param string $force Whether to force the write query to be executed even if the
         *    page is not watched or the notification timestamp is already NULL.
         *    'force' in order to force
@@ -262,7 +262,7 @@ interface WatchedItemStoreInterface {
         * @return bool success Whether a job was enqueued
         */
        public function resetNotificationTimestamp(
-               UserIdentity $user, Title $title, $force = '', $oldid = 0 );
+               UserIdentity $user, LinkTarget $title, $force = '', $oldid = 0 );
 
        /**
         * @since 1.31
@@ -341,7 +341,7 @@ interface WatchedItemStoreInterface {
         * @param string|null $timestamp Value of wl_notificationtimestamp from the DB
         * @param UserIdentity $user
         * @param LinkTarget $target
-        * @return string TS_MW timestamp or null
+        * @return string|null TS_MW timestamp or null if all revision were seen
         */
        public function getLatestNotificationTimestamp(
                $timestamp, UserIdentity $user, LinkTarget $target );