@@ -126,7 +126,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -178,7 +178,6 @@ |
||
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | - * @param string $hint |
|
| 182 | 181 | */ |
| 183 | 182 | public function setJsonData($jsonData) |
| 184 | 183 | { |
@@ -271,7 +271,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -285,7 +285,7 @@ |
||
| 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) |
@@ -38,7 +38,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -8,9 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | /** |
| 10 | 10 | * @param ContainerInterface $container |
| 11 | - * @param string $requestedName |
|
| 12 | - * @param array|null $options |
|
| 13 | - * @return mixed |
|
| 11 | + * @return GameWidget |
|
| 14 | 12 | */ |
| 15 | 13 | public function __invoke(ContainerInterface $container) |
| 16 | 14 | { |
@@ -730,7 +730,7 @@ discard block |
||
| 730 | 730 | } |
| 731 | 731 | |
| 732 | 732 | /** |
| 733 | - * @return boolean $emailShare |
|
| 733 | + * @return integer $emailShare |
|
| 734 | 734 | */ |
| 735 | 735 | public function getEmailShare() |
| 736 | 736 | { |
@@ -746,7 +746,7 @@ discard block |
||
| 746 | 746 | } |
| 747 | 747 | |
| 748 | 748 | /** |
| 749 | - * @return boolean $fbShare |
|
| 749 | + * @return integer $fbShare |
|
| 750 | 750 | */ |
| 751 | 751 | public function getFbShare() |
| 752 | 752 | { |
@@ -762,7 +762,7 @@ discard block |
||
| 762 | 762 | } |
| 763 | 763 | |
| 764 | 764 | /** |
| 765 | - * @return boolean $twShare |
|
| 765 | + * @return integer $twShare |
|
| 766 | 766 | */ |
| 767 | 767 | public function getTwShare() |
| 768 | 768 | { |
@@ -1382,7 +1382,7 @@ discard block |
||
| 1382 | 1382 | |
| 1383 | 1383 | /** |
| 1384 | 1384 | * |
| 1385 | - * @return the $costToPlay |
|
| 1385 | + * @return integer $costToPlay |
|
| 1386 | 1386 | */ |
| 1387 | 1387 | public function getCostToPlay() |
| 1388 | 1388 | { |
@@ -1569,7 +1569,7 @@ discard block |
||
| 1569 | 1569 | |
| 1570 | 1570 | /** |
| 1571 | 1571 | * |
| 1572 | - * @return string the Facebook fbPageTabPosition |
|
| 1572 | + * @return integer the Facebook fbPageTabPosition |
|
| 1573 | 1573 | */ |
| 1574 | 1574 | public function getFbPageTabPosition() |
| 1575 | 1575 | { |
@@ -1589,7 +1589,7 @@ discard block |
||
| 1589 | 1589 | |
| 1590 | 1590 | /** |
| 1591 | 1591 | * |
| 1592 | - * @return the string |
|
| 1592 | + * @return string string |
|
| 1593 | 1593 | */ |
| 1594 | 1594 | public function getEmailShareSubject() |
| 1595 | 1595 | { |
@@ -1629,7 +1629,7 @@ discard block |
||
| 1629 | 1629 | |
| 1630 | 1630 | /** |
| 1631 | 1631 | * |
| 1632 | - * @return the string |
|
| 1632 | + * @return string string |
|
| 1633 | 1633 | */ |
| 1634 | 1634 | public function getFbShareDescription() |
| 1635 | 1635 | { |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | } |
| 151 | 151 | |
| 152 | 152 | /** |
| 153 | - * @return the unknown_type |
|
| 153 | + * @return integer unknown_type |
|
| 154 | 154 | */ |
| 155 | 155 | public function getVoteActive() |
| 156 | 156 | { |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | } |
| 187 | 187 | |
| 188 | 188 | /** |
| 189 | - * @return bool |
|
| 189 | + * @return integer |
|
| 190 | 190 | */ |
| 191 | 191 | public function getModerationType() |
| 192 | 192 | { |
@@ -21,7 +21,6 @@ |
||
| 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($dateStart = null, $dateEnd = null, $classType = null, $cost = null, $order = null, $dir = 'DESC') |