Fix phpdoc for WikiPage::updateRedirectOn $redirectTitle param
authoraddshore <addshorewiki@gmail.com>
Mon, 4 Dec 2017 09:43:01 +0000 (10:43 +0100)
committeraddshore <addshorewiki@gmail.com>
Mon, 4 Dec 2017 09:43:01 +0000 (10:43 +0100)
Change-Id: I8e666db2a7502bd1773252aa71db47819f63f08b

includes/page/WikiPage.php

index 9df3d8c..ff997ab 100644 (file)
@@ -1305,7 +1305,7 @@ class WikiPage implements Page, IDBAccessObject {
         * Add row to the redirect table if this is a redirect, remove otherwise.
         *
         * @param IDatabase $dbw
-        * @param Title $redirectTitle Title object pointing to the redirect target,
+        * @param Title|null $redirectTitle Title object pointing to the redirect target,
         *   or NULL if this is not a redirect
         * @param null|bool $lastRevIsRedirect If given, will optimize adding and
         *   removing rows in redirect table.