chore: Аннотации к типам
This commit is contained in:
parent
245b5c6c19
commit
704e4e0bd5
10 changed files with 73 additions and 11 deletions
|
|
@ -34,11 +34,21 @@ class TableRow
|
|||
/** @var int|false */
|
||||
public $height = false;
|
||||
|
||||
/**
|
||||
* Устанавливает значение для клетки
|
||||
* @param int $y Номер столбца
|
||||
* @param string $value Значение клетки
|
||||
*/
|
||||
function setCell($y, $value): void
|
||||
{
|
||||
$this->cells[$y] = new TableCell($value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Устанавливает стиль для клетки
|
||||
* @param int $y Номер столбца
|
||||
* @param string $name Имя стиля
|
||||
*/
|
||||
function setCellStyle($y, $name): void
|
||||
{
|
||||
$this->cells[$y]->style = $name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue