mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 07:10: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
|
@ -2,7 +2,8 @@
|
|||
namespace Exceptions;
|
||||
|
||||
class PollVoteExistsException extends AppException{
|
||||
public $Vote = null;
|
||||
public ?\PollVote $Vote = null;
|
||||
/** @var string $message */
|
||||
protected $message = 'You’ve already voted in this poll.';
|
||||
|
||||
public function __construct(?\PollVote $vote = null){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue