fix: noverify --fix

This commit is contained in:
origami11@yandex.ru 2024-06-14 14:12:02 +03:00
parent 5aff28d2b8
commit 117640a755
44 changed files with 174 additions and 174 deletions

View file

@ -25,7 +25,7 @@ class Document {
function setStyle ($name, array $values, $type = 'Interior')
{
if(!isset($this->styles[$name])) {
$this->styles[$name] = array();
$this->styles[$name] = [];
}
$this->styles[$name][$type] = $values;
}
@ -70,7 +70,7 @@ class Document {
function clean ($s) {
assert(is_string($s));
return strtr($s, array ("\n" => "
"));
return strtr($s, ["\n" => "
"]);
}
/**