Completed
Push — master ( 92f9ab...467cb1 )
by greg
05:24 queued 02:28
created
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.