@@ -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 | { |
@@ -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($displayHome = null, $classType = '', $order = '', $nbItems = 5) |
@@ -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 | { |
@@ -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') |
@@ -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 NextGameWidget extends AbstractHelper |
9 | 8 | { |
@@ -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 NextGameWidget |
|
14 | 12 | */ |
15 | 13 | public function __invoke(ContainerInterface $container) |
16 | 14 | { |