pager: Add visibility methods declared in the Pager interface
authorDerick Alangi <alangiderick@gmail.com>
Sat, 27 Jul 2019 18:29:24 +0000 (19:29 +0100)
committerD3r1ck01 <xsavitar.wiki@aol.com>
Tue, 30 Jul 2019 12:45:58 +0000 (12:45 +0000)
In addition, also add visibility to the class(es) that implement
the method.

Change-Id: If650cfcafbe4fe8cd4d2e0629df3f170c599ea41

includes/pager/AlphabeticPager.php
includes/pager/Pager.php

index 54036eb..9426dce 100644 (file)
@@ -33,7 +33,7 @@ abstract class AlphabeticPager extends IndexPager {
         *
         * @return string HTML
         */
-       function getNavigationBar() {
+       public function getNavigationBar() {
                if ( !$this->isNavigationBarShown() ) {
                        return '';
                }
index 9cfbfbf..45c310a 100644 (file)
@@ -30,7 +30,7 @@
  * @ingroup Pager
  */
 interface Pager {
-       function getNavigationBar();
+       public function getNavigationBar();
 
-       function getBody();
+       public function getBody();
 }