Completed
Push — develop ( f8b904...18781a )
by greg
02:53
created
src/Entity/InstantWin.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     }
127 127
 
128 128
     /**
129
-     * @return the unknown_type
129
+     * @return integer unknown_type
130 130
      */
131 131
     public function getOccurrenceNumber()
132 132
     {
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
         return $this;
144 144
     }
145 145
     /**
146
-     * @return the unknown_type
146
+     * @return integer unknown_type
147 147
      */
148 148
     public function getWinningOccurrenceNumber()
149 149
     {
Please login to merge, or discard this patch.
src/Entity/QuizAnswer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,6 @@
 block discarded – undo
178 178
     }
179 179
 
180 180
     /**
181
-     * @param string $hint
182 181
      */
183 182
     public function setJsonData($jsonData)
184 183
     {
Please login to merge, or discard this patch.
src/Entity/QuizQuestion.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
     }
272 272
 
273 273
     /**
274
-     * @return the unknown_type
274
+     * @return string unknown_type
275 275
      */
276 276
     public function getImage()
277 277
     {
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     }
308 308
 
309 309
     /**
310
-     * @return boolean unknown_type
310
+     * @return integer unknown_type
311 311
      */
312 312
     public function getAutoplay()
313 313
     {
@@ -351,7 +351,6 @@  discard block
 block discarded – undo
351 351
     }
352 352
 
353 353
     /**
354
-     * @param string $hint
355 354
      */
356 355
     public function setJsonData($jsonData)
357 356
     {
@@ -361,7 +360,7 @@  discard block
 block discarded – undo
361 360
     }
362 361
     
363 362
     /**
364
-     * @return boolean unknown_type
363
+     * @return integer unknown_type
365 364
      */
366 365
     public function getTimer()
367 366
     {
Please login to merge, or discard this patch.
src/Entity/TradingCard.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,11 +4,7 @@
 block discarded – undo
4 4
 use Doctrine\Common\Collections\ArrayCollection;
5 5
 use Doctrine\ORM\Mapping as ORM;
6 6
 use Doctrine\ORM\Mapping\HasLifecycleCallbacks;
7
-use Doctrine\ORM\Mapping\PrePersist;
8
-use Doctrine\ORM\Mapping\PreUpdate;
9
-
10 7
 use PlaygroundGame\Entity\Game;
11
-
12 8
 use Zend\InputFilter\InputFilter;
13 9
 use Zend\InputFilter\InputFilterAwareInterface;
14 10
 use Zend\InputFilter\InputFilterInterface;
Please login to merge, or discard this patch.
src/Module.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@
 block discarded – undo
285 285
      * This method add the games to the cms categories of pages
286 286
      * not that satisfied neither
287 287
      *
288
-     * @param  EventManager $e
288
+     * @param  \Zend\EventManager\Event $e
289 289
      * @return array
290 290
      */
291 291
     public function populateCmsCategories(\Zend\EventManager\Event $e)
Please login to merge, or discard this patch.
src/Service/Mission.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace PlaygroundGame\Service;
4 4
 
5
-use Zend\ServiceManager\ServiceManager;
6 5
 use PlaygroundGame\Service\Game;
7 6
 use PlaygroundGame\Entity\MissionGameCondition as MissionGameConditionEntity;
8 7
 
Please login to merge, or discard this patch.
src/Controller/Frontend/WebhookController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace PlaygroundGame\Controller\Frontend;
4 4
 
5 5
 use Zend\Mvc\Controller\AbstractActionController;
6
-use Zend\View\Model\ViewModel;
7 6
 use Zend\ServiceManager\ServiceLocatorInterface;
8 7
 
9 8
 class WebhookController extends AbstractActionController
Please login to merge, or discard this patch.
src/Service/Quiz.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      *
40 40
      * @param  array                  $data
41
-     * @return \PlaygroundGame\Entity\Game
41
+     * @return false|string
42 42
      */
43 43
     public function createQuestion(array $data)
44 44
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 
90 90
     /**
91 91
      * @param  array $data
92
-     * @return \PlaygroundGame\Entity\Game
92
+     * @return false|string
93 93
      */
94 94
     public function updateQuestion(array $data, $question)
95 95
     {
@@ -190,6 +190,9 @@  discard block
 block discarded – undo
190 190
         return $replies;
191 191
     }
192 192
 
193
+    /**
194
+     * @param string $question
195
+     */
193 196
     public function updatePrediction($question)
194 197
     {
195 198
         set_time_limit(0);
@@ -287,8 +290,7 @@  discard block
 block discarded – undo
287 290
      * To improve performance, usage of DQL update
288 291
      * http://doctrine-orm.readthedocs.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html
289 292
      *
290
-     * @param  string $data
291
-     * @return boolean
293
+     * @return boolean|null
292 294
      */
293 295
     public function updatePredictionOLD($question)
294 296
     {
Please login to merge, or discard this patch.
src/View/Helper/GameWidget.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace PlaygroundGame\View\Helper;
4 4
 
5 5
 use Zend\View\Helper\AbstractHelper;
6
-use Interop\Container\ContainerInterface;
7 6
 
8 7
 class GameWidget extends AbstractHelper
9 8
 {
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
      * __invoke
22 22
      *
23 23
      * @access public
24
-     * @param  array  $options array of options
25 24
      * @return string
26 25
      */
27 26
     public function __invoke($identifier = null)
Please login to merge, or discard this patch.