@@ -94,8 +94,7 @@ |
||
| 94 | 94 | null |
| 95 | 95 | ); |
| 96 | 96 | $this->console->writeln('$ff0['.$from.'$ff0] '.$text); |
| 97 | - } |
|
| 98 | - else { |
|
| 97 | + } else { |
|
| 99 | 98 | $this->console->writeln('$333['.$from.'$333] '.$text); |
| 100 | 99 | $this->chatNotification->sendMessage('expansion_customchat.chat.disabledstate', $player->getLogin()); |
| 101 | 100 | } |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | * |
| 29 | 29 | * @param int $duration |
| 30 | 30 | * @param float $ration |
| 31 | - * @param string $class |
|
| 32 | 31 | * @param Connection $connection |
| 33 | 32 | * @param ChatNotification $chatNotification |
| 34 | 33 | */ |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | /** |
| 120 | 120 | * Update status of the vite and change status if needed. |
| 121 | 121 | * |
| 122 | - * @param $time |
|
| 122 | + * @param integer $time |
|
| 123 | 123 | */ |
| 124 | 124 | function updateVote($time) |
| 125 | 125 | { |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | /** |
| 155 | 155 | * Get duration of the votes. |
| 156 | 156 | * |
| 157 | - * @return float |
|
| 157 | + * @return integer |
|
| 158 | 158 | */ |
| 159 | 159 | public function getTotalTime(): int |
| 160 | 160 | { |