@@ -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 | { |
@@ -723,7 +723,7 @@ discard block |
||
| 723 | 723 | } |
| 724 | 724 | |
| 725 | 725 | /** |
| 726 | - * @return boolean $emailShare |
|
| 726 | + * @return integer $emailShare |
|
| 727 | 727 | */ |
| 728 | 728 | public function getEmailShare() |
| 729 | 729 | { |
@@ -739,7 +739,7 @@ discard block |
||
| 739 | 739 | } |
| 740 | 740 | |
| 741 | 741 | /** |
| 742 | - * @return boolean $fbShare |
|
| 742 | + * @return integer $fbShare |
|
| 743 | 743 | */ |
| 744 | 744 | public function getFbShare() |
| 745 | 745 | { |
@@ -755,7 +755,7 @@ discard block |
||
| 755 | 755 | } |
| 756 | 756 | |
| 757 | 757 | /** |
| 758 | - * @return boolean $twShare |
|
| 758 | + * @return integer $twShare |
|
| 759 | 759 | */ |
| 760 | 760 | public function getTwShare() |
| 761 | 761 | { |
@@ -1545,7 +1545,7 @@ discard block |
||
| 1545 | 1545 | |
| 1546 | 1546 | /** |
| 1547 | 1547 | * |
| 1548 | - * @return string the Facebook fbPageTabPosition |
|
| 1548 | + * @return integer the Facebook fbPageTabPosition |
|
| 1549 | 1549 | */ |
| 1550 | 1550 | public function getFbPageTabPosition() |
| 1551 | 1551 | { |
@@ -1565,7 +1565,7 @@ discard block |
||
| 1565 | 1565 | |
| 1566 | 1566 | /** |
| 1567 | 1567 | * |
| 1568 | - * @return the string |
|
| 1568 | + * @return string string |
|
| 1569 | 1569 | */ |
| 1570 | 1570 | public function getEmailShareSubject() |
| 1571 | 1571 | { |
@@ -1605,7 +1605,7 @@ discard block |
||
| 1605 | 1605 | |
| 1606 | 1606 | /** |
| 1607 | 1607 | * |
| 1608 | - * @return the string |
|
| 1608 | + * @return string string |
|
| 1609 | 1609 | */ |
| 1610 | 1610 | public function getFbShareDescription() |
| 1611 | 1611 | { |