Exclude override to make method public from checks
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Thu, 14 Nov 2013 12:24:23 +0000 (13:24 +0100)
committerSiebrand <siebrand@wikimedia.org>
Thu, 14 Nov 2013 19:16:41 +0000 (19:16 +0000)
Change-Id: I66df2efa5900c5a192ae88217e736b7fc7335dcd

includes/actions/HistoryAction.php

index 4f579c6..e492bd4 100644 (file)
@@ -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();