1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 10:49:36 +02:00

Update composer

This commit is contained in:
Daniel Neto 2024-03-05 19:29:45 -03:00
parent 330cdbe615
commit 0c83c9a678
442 changed files with 9523 additions and 10793 deletions

View file

@ -18,8 +18,8 @@ use Symfony\Component\Console\Exception\InvalidArgumentException;
*/
class TableCell
{
private string $value;
private array $options = [
private $value;
private $options = [
'rowspan' => 1,
'colspan' => 1,
'style' => null,
@ -43,24 +43,30 @@ class TableCell
/**
* Returns the cell value.
*
* @return string
*/
public function __toString(): string
public function __toString()
{
return $this->value;
}
/**
* Gets number of colspan.
*
* @return int
*/
public function getColspan(): int
public function getColspan()
{
return (int) $this->options['colspan'];
}
/**
* Gets number of rowspan.
*
* @return int
*/
public function getRowspan(): int
public function getRowspan()
{
return (int) $this->options['rowspan'];
}