Completed
Push — master ( 02eb7f...206125 )
by
unknown
13s
created
src/eXpansion/Bundle/VoteManager/Plugins/Gui/Widget/VoteWidgetFactory.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -154,6 +154,9 @@
 block discarded – undo
154 154
 
155 155
     }
156 156
 
157
+    /**
158
+     * @param string $message
159
+     */
157 160
     public function setMessage($message)
158 161
     {
159 162
         $this->label->setText($message);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use eXpansion\Framework\Core\Model\Gui\WidgetFactoryContext;
10 10
 use eXpansion\Framework\Core\Plugins\Gui\WidgetFactory;
11 11
 use eXpansion\Framework\Gui\Builders\WidgetBackground;
12
-use eXpansion\Framework\Gui\Components\uiButton;
13 12
 use eXpansion\Framework\Gui\Components\uiLabel;
14 13
 use eXpansion\Framework\Gui\Ui\Factory;
15 14
 use FML\Controls\Quad;
Please login to merge, or discard this patch.
src/eXpansion/Bundle/VoteManager/Services/VoteService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -187,6 +187,9 @@
 block discarded – undo
187 187
         return $this->currentVote;
188 188
     }
189 189
 
190
+    /**
191
+     * @param string $type
192
+     */
190 193
     public function startVote(Player $player, $type)
191 194
     {
192 195
         if ($this->getCurrentVote() !== null) {
Please login to merge, or discard this patch.
src/eXpansion/Bundle/VoteManager/Structures/Vote.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,9 @@  discard block
 block discarded – undo
67 67
         return $value;
68 68
     }
69 69
 
70
+    /**
71
+     * @param integer $time
72
+     */
70 73
     function updateVote($time)
71 74
     {
72 75
         $this->elapsedTime = $time - $this->startTime;
@@ -113,7 +116,7 @@  discard block
 block discarded – undo
113 116
     }
114 117
 
115 118
     /**
116
-     * @return float
119
+     * @return integer
117 120
      */
118 121
     public function getTotalTime(): int
119 122
     {
Please login to merge, or discard this patch.