Skip to content

Commit

Permalink
Changed writeElement() method access from public to protected as it s…
Browse files Browse the repository at this point in the history
…hould not be used directly.
  • Loading branch information
bertramakers committed May 20, 2015
1 parent 394ba07 commit a2d584a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SiteMapXmlWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit a2d584a

Please sign in to comment.