More type fixes

This commit is contained in:
Alex Cabal 2025-02-26 15:11:36 -06:00
parent a5a19f947f
commit 99b5fd66f2
17 changed files with 103 additions and 122 deletions

View file

@ -60,6 +60,10 @@ class PollVote{
}
else{
try{
/**
* @throws Exceptions\PollItemNotFoundException
* @throws Exceptions\PollNotFoundException
*/
if(!$this->PollItem->Poll->IsActive()){
$error->Add(new Exceptions\PollClosedException());
}