@@ -1420,7 +1420,7 @@ |
||
| 1420 | 1420 | |
| 1421 | 1421 | /** |
| 1422 | 1422 | * |
| 1423 | - * @return string the Facebook fbPageTabPosition |
|
| 1423 | + * @return integer the Facebook fbPageTabPosition |
|
| 1424 | 1424 | */ |
| 1425 | 1425 | public function getFbPageTabPosition() |
| 1426 | 1426 | { |
@@ -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 |
@@ -235,7 +235,7 @@ |
||
| 235 | 235 | } |
| 236 | 236 | |
| 237 | 237 | /** |
| 238 | - * @param field_type $geoloc |
|
| 238 | + * @param string $geoloc |
|
| 239 | 239 | */ |
| 240 | 240 | public function setGeoloc($geoloc) |
| 241 | 241 | { |
@@ -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 | { |