| 1 | <?php |
||
| 15 | class NextMapVote extends AbstractVote |
||
| 16 | { |
||
| 17 | /** @var Connection */ |
||
| 18 | protected $connection; |
||
| 19 | |||
| 20 | /** @var ChatNotification */ |
||
| 21 | protected $chatNotification; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * NexMapVote constructor. |
||
| 25 | * |
||
| 26 | * @param Player $player |
||
| 27 | * @param string $type |
||
| 28 | * @param int $duration |
||
| 29 | * @param float $ration |
||
| 30 | * @param Connection $connection |
||
| 31 | * @param ChatNotification $chatNotification |
||
| 32 | */ |
||
| 33 | 6 | public function __construct( |
|
| 46 | |||
| 47 | |||
| 48 | /** |
||
| 49 | * @inheritdoc |
||
| 50 | */ |
||
| 51 | 1 | public function getQuestion(): string |
|
| 55 | |||
| 56 | /** |
||
| 57 | * @inheritdoc |
||
| 58 | */ |
||
| 59 | 1 | public function executeVotePassed() |
|
| 64 | |||
| 65 | /** |
||
| 66 | * @inheritdoc |
||
| 67 | */ |
||
| 68 | 1 | public function executeVoteFailed() |
|
| 72 | } |
||
| 73 |