From 986f3df85b4708aa0272f7c88da7029eb7cec448 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thiemo=20M=C3=A4ttig?= Date: Fri, 6 Feb 2015 16:54:25 +0100 Subject: [PATCH] Fix type hint in HistoryAction::getArticle See the type hint of the accessed Action::$page variable. Change-Id: I10e4e27773bcca507c10cf526d193bf0a1cc97ac --- includes/actions/HistoryAction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } + } -- 2.20.1