@@ -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 | { |
@@ -4,11 +4,7 @@ |
||
| 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; |
@@ -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) |
@@ -2,7 +2,6 @@ |
||
| 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 | |
@@ -3,7 +3,6 @@ |
||
| 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 |
@@ -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 | { |
@@ -3,7 +3,6 @@ |
||
| 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 | { |
@@ -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($identifier = null) |