refactor: Название методов

This commit is contained in:
Wizard 2024-12-16 23:35:20 +03:00
parent 82f6dd1630
commit 9680409ba9
2 changed files with 31 additions and 32 deletions

View file

@ -80,7 +80,7 @@ class Document {
function save($filename)
{
$doc = new XMLWriter();
if (!$doc->openURI($filename)) {
if (!$doc->openUri($filename)) {
throw new Exception("unknown file " . $filename);
}
$doc->setIndent(false);