From 29e000978528395107187427435980f0ad469302 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 14 Nov 2013 13:24:23 +0100 Subject: [PATCH] Exclude override to make method public from checks Change-Id: I66df2efa5900c5a192ae88217e736b7fc7335dcd --- includes/actions/HistoryAction.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/actions/HistoryAction.php b/includes/actions/HistoryAction.php index 4f579c62cb..e492bd4ce7 100644 --- a/includes/actions/HistoryAction.php +++ b/includes/actions/HistoryAction.php @@ -883,9 +883,11 @@ class HistoryPager extends ReverseChronologicalPager { * Backwards-compatibility alias */ class HistoryPage extends HistoryAction { - public function __construct( Page $article ) { # Just to make it public + // @codingStandardsIgnoreStart Needed "useless" override to make it public. + public function __construct( Page $article ) { parent::__construct( $article ); } + // @codingStandardsIgnoreEnd public function history() { $this->onView(); -- 2.20.1