From: Thiemo Mättig Date: Fri, 6 Feb 2015 15:54:25 +0000 (+0100) Subject: Fix type hint in HistoryAction::getArticle X-Git-Tag: 1.31.0-rc.0~12490^2 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=986f3df85b4708aa0272f7c88da7029eb7cec448;p=lhc%2Fweb%2Fwiklou.git Fix type hint in HistoryAction::getArticle See the type hint of the accessed Action::$page variable. Change-Id: I10e4e27773bcca507c10cf526d193bf0a1cc97ac --- diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index 6ee5d2c60d..da2a11afe6 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -67,8 +67,7 @@ class HistoryAction extends FormlessAction { } /** - * Get the Article object we are working on. - * @return Page + * @return WikiPage|Article|ImagePage|CategoryPage|Page The Article object we are working on. */ public function getArticle() { return $this->page; @@ -901,4 +900,5 @@ class HistoryPager extends ReverseChronologicalPager { function getPreventClickjacking() { return $this->preventClickjacking; } + }