From 816af6f29ffb880b345a1063b0e81d2f2496f0ac Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 24 Sep 2024 17:31:47 +0200 Subject: [PATCH] bugfix --- src/EventHandler/AbstractPoll.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventHandler/AbstractPoll.php b/src/EventHandler/AbstractPoll.php index d6f75e80c..b6b1afd02 100644 --- a/src/EventHandler/AbstractPoll.php +++ b/src/EventHandler/AbstractPoll.php @@ -58,7 +58,7 @@ abstract class AbstractPoll implements JsonSerializable public readonly array $recentVoters; /** Total number of people that voted in the poll */ - public readonly int $totalVoters; + public readonly ?int $totalVoters; /** @internal */ public function __construct(array $rawPoll)