From: Derick Alangi Date: Sat, 27 Jul 2019 18:29:24 +0000 (+0100) Subject: pager: Add visibility methods declared in the Pager interface X-Git-Tag: 1.34.0-rc.0~839 X-Git-Url: http://git.cyclocoop.org/data/%7B%7B%20url_for%28%27static%27%2C%20filename=%27js/%7B%24admin_url%7Dcompta?a=commitdiff_plain;h=080b0f9177bb086789cfdff4ee21be37b4b45aa6;p=lhc%2Fweb%2Fwiklou.git pager: Add visibility methods declared in the Pager interface In addition, also add visibility to the class(es) that implement the method. Change-Id: If650cfcafbe4fe8cd4d2e0629df3f170c599ea41 --- diff --git a/includes/pager/AlphabeticPager.php b/includes/pager/AlphabeticPager.php index 54036eb846..9426dcebc7 100644 --- a/includes/pager/AlphabeticPager.php +++ b/includes/pager/AlphabeticPager.php @@ -33,7 +33,7 @@ abstract class AlphabeticPager extends IndexPager { * * @return string HTML */ - function getNavigationBar() { + public function getNavigationBar() { if ( !$this->isNavigationBarShown() ) { return ''; } diff --git a/includes/pager/Pager.php b/includes/pager/Pager.php index 9cfbfbf332..45c310aced 100644 --- a/includes/pager/Pager.php +++ b/includes/pager/Pager.php @@ -30,7 +30,7 @@ * @ingroup Pager */ interface Pager { - function getNavigationBar(); + public function getNavigationBar(); - function getBody(); + public function getBody(); }