fix: Определения типов
This commit is contained in:
parent
987d4097c9
commit
acbf2c847d
10 changed files with 42 additions and 19 deletions
|
|
@ -92,7 +92,7 @@ class Table
|
|||
/**
|
||||
* Устанавливает высоту ряда
|
||||
* @param int $row Номер ряда
|
||||
* @param number $value Высота ряда
|
||||
* @param numeric $value Высота ряда
|
||||
*/
|
||||
function setRowHeight (int $row, $value)
|
||||
{
|
||||
|
|
@ -147,7 +147,7 @@ class Table
|
|||
*/
|
||||
function addRow(int $index = 1, array $data = [""])
|
||||
{
|
||||
assert(is_numeric($index) && $index > 0);
|
||||
assert($index > 0);
|
||||
$offset = $this->getRows() + 1;
|
||||
|
||||
$this->setRow($offset, $index, $data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue