mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -04:00
Continue improving type hints
This commit is contained in:
parent
eb376c87bd
commit
703e1a7a03
73 changed files with 98 additions and 114 deletions
|
@ -3,8 +3,6 @@ use Safe\DateTimeImmutable;
|
|||
use function Safe\usort;
|
||||
|
||||
/**
|
||||
* @property ?array<PollItem> $_PollItems
|
||||
* @property ?array<PollItem> $_PollItemsByWinner
|
||||
* @property string $Url
|
||||
* @property array<PollItem> $PollItems
|
||||
* @property array<PollItem> $PollItemsByWinner
|
||||
|
@ -21,7 +19,9 @@ class Poll{
|
|||
public DateTimeImmutable $Start;
|
||||
public DateTimeImmutable $End;
|
||||
protected ?string $_Url = null;
|
||||
/** @var ?array<PollItem> $_PollItems */
|
||||
protected $_PollItems = null;
|
||||
/** @var ?array<PollItem> $_PollItemsByWinner */
|
||||
protected $_PollItemsByWinner = null;
|
||||
protected ?int $_VoteCount = null;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue