From a2d584ac3450c6b2f6fb02d63b71323dc29ab2e3 Mon Sep 17 00:00:00 2001 From: Bert Ramakers Date: Wed, 20 May 2015 11:13:42 +0200 Subject: [PATCH] Changed writeElement() method access from public to protected as it should not be used directly. --- src/SiteMapXmlWriter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SiteMapXmlWriter.php b/src/SiteMapXmlWriter.php index a9316e4..1d484dc 100644 --- a/src/SiteMapXmlWriter.php +++ b/src/SiteMapXmlWriter.php @@ -69,7 +69,7 @@ protected function openRootElement($tagName) * @param string $tagName * @param SiteMapXmlEntry $entry */ - public function writeElement($tagName, SiteMapXmlEntry $entry) + protected function writeElement($tagName, SiteMapXmlEntry $entry) { $this->writer->startElement($tagName); $this->writer->writeElement('loc', (string) $entry->getLocation());