From 1ad70e60d32afdede6748bee7f4adf45d88caa82 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Wed, 28 Feb 2007 17:25:41 +0000 Subject: [PATCH] Explicitly mark public methods public --- includes/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Parser.php b/includes/Parser.php index 7810f1eff7..14d45bd3de 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -4648,11 +4648,11 @@ class Parser * @param $section Integer: section number * @return string text of the requested section */ - function getSection( $text, $section ) { + public function getSection( $text, $section ) { return $this->extractSections( $text, $section, "get" ); } - function replaceSection( $oldtext, $section, $text ) { + public function replaceSection( $oldtext, $section, $text ) { return $this->extractSections( $oldtext, $section, "replace", $text ); } -- 2.20.1