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

@ -142,7 +142,7 @@ class Table
/**
* Добавляет строку к таблице
*/
function addRow($index = 1, array $data = array(""))
function addRow($index = 1, array $data = [""])
{
assert(is_numeric($index) && $index > 0);
$offset = $this->getRows() + 1;
@ -196,7 +196,7 @@ class Table
* @return int
*/
function getColumns() {
return max(array_map(array($this, 'getRowCells'), $this->rows));
return max(array_map([$this, 'getRowCells'], $this->rows));
}
function encode($s)