From: addshore Date: Mon, 4 Dec 2017 09:43:01 +0000 (+0100) Subject: Fix phpdoc for WikiPage::updateRedirectOn $redirectTitle param X-Git-Tag: 1.31.0-rc.0~1308 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=f894f2ec986f2d56b9b2b2372d38d90981672b79;p=lhc%2Fweb%2Fwiklou.git Fix phpdoc for WikiPage::updateRedirectOn $redirectTitle param Change-Id: I8e666db2a7502bd1773252aa71db47819f63f08b --- diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php index 9df3d8caca..ff997ab238 100644 --- a/includes/page/WikiPage.php +++ b/includes/page/WikiPage.php @@ -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.