From 080b0f9177bb086789cfdff4ee21be37b4b45aa6 Mon Sep 17 00:00:00 2001 From: Derick Alangi Date: Sat, 27 Jul 2019 19:29:24 +0100 Subject: [PATCH] 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 --- includes/pager/AlphabeticPager.php | 2 +- includes/pager/Pager.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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(); } -- 2.20.1