Mark public methods as public in ImageHistoryPseudoPager
authoraddshore <addshorewiki@gmail.com>
Wed, 22 Mar 2017 12:16:00 +0000 (12:16 +0000)
committeraddshore <addshorewiki@gmail.com>
Wed, 22 Mar 2017 12:16:00 +0000 (12:16 +0000)
Change-Id: Iad4442d87df683daca978fa95068f9ca5221d8a5

includes/page/ImageHistoryPseudoPager.php

index 58f1666..b1441be 100644 (file)
@@ -34,7 +34,7 @@ class ImageHistoryPseudoPager extends ReverseChronologicalPager {
        /**
         * @param ImagePage $imagePage
         */
-       function __construct( $imagePage ) {
+       public function __construct( $imagePage ) {
                parent::__construct( $imagePage->getContext() );
                $this->mImagePage = $imagePage;
                $this->mTitle = clone $imagePage->getTitle();
@@ -53,18 +53,18 @@ class ImageHistoryPseudoPager extends ReverseChronologicalPager {
        /**
         * @return Title
         */
-       function getTitle() {
+       public function getTitle() {
                return $this->mTitle;
        }
 
-       function getQueryInfo() {
+       public function getQueryInfo() {
                return false;
        }
 
        /**
         * @return string
         */
-       function getIndexField() {
+       public function getIndexField() {
                return '';
        }
 
@@ -72,14 +72,14 @@ class ImageHistoryPseudoPager extends ReverseChronologicalPager {
         * @param object $row
         * @return string
         */
-       function formatRow( $row ) {
+       public function formatRow( $row ) {
                return '';
        }
 
        /**
         * @return string
         */
-       function getBody() {
+       public function getBody() {
                $s = '';
                $this->doQuery();
                if ( count( $this->mHist ) ) {
@@ -113,7 +113,7 @@ class ImageHistoryPseudoPager extends ReverseChronologicalPager {
                return $s;
        }
 
-       function doQuery() {
+       public function doQuery() {
                if ( $this->mQueryDone ) {
                        return;
                }