From 2ecbad416e99aeec63161c4a744824b00d63e668 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Tue, 22 Nov 2011 07:21:04 +0000 Subject: [PATCH] MDL-30397 qformat_xml::format() should be public. --- question/format/xml/format.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/question/format/xml/format.php b/question/format/xml/format.php index 80ff9c1c897..b3f88587dbd 100644 --- a/question/format/xml/format.php +++ b/question/format/xml/format.php @@ -1446,10 +1446,10 @@ class qformat_xml extends qformat_default { } /** - * @param unknown_type $format a FORMAT_... constant. + * @param int $format a FORMAT_... constant. * @return string the attribute to add to an XML tag. */ - protected function format($format) { + public function format($format) { return 'format="' . $this->get_format($format) . '"'; }