@@ -1440,7 +1440,7 @@ |
||
| 1440 | 1440 | |
| 1441 | 1441 | /** |
| 1442 | 1442 | * |
| 1443 | - * @return the unknown_type |
|
| 1443 | + * @return string unknown_type |
|
| 1444 | 1444 | */ |
| 1445 | 1445 | public function getFbRequestMessage() |
| 1446 | 1446 | { |
@@ -190,7 +190,7 @@ |
||
| 190 | 190 | } |
| 191 | 191 | |
| 192 | 192 | /** |
| 193 | - * @return PostVotePostEntry[] unknown_type |
|
| 193 | + * @return ArrayCollection unknown_type |
|
| 194 | 194 | */ |
| 195 | 195 | public function getPostElements() |
| 196 | 196 | { |
@@ -251,6 +251,9 @@ |
||
| 251 | 251 | throw new \Exception("Not used"); |
| 252 | 252 | } |
| 253 | 253 | |
| 254 | + /** |
|
| 255 | + * @return InputFilterInterface |
|
| 256 | + */ |
|
| 254 | 257 | public function getInputFilter() |
| 255 | 258 | { |
| 256 | 259 | if (!$this->inputFilter) { |
@@ -252,7 +252,7 @@ |
||
| 252 | 252 | } |
| 253 | 253 | |
| 254 | 254 | /** |
| 255 | - * @param string $playerData |
|
| 255 | + * @param string $answerData |
|
| 256 | 256 | */ |
| 257 | 257 | public function setAnswerData($answerData) |
| 258 | 258 | { |
@@ -50,7 +50,6 @@ |
||
| 50 | 50 | * |
| 51 | 51 | * @param unknown_type $game |
| 52 | 52 | * @param unknown_type $user |
| 53 | - * @param unknown_type $limitScale |
|
| 54 | 53 | */ |
| 55 | 54 | public function findLastEntriesByUser($game, $user, $dateLimit) |
| 56 | 55 | { |
@@ -864,6 +864,10 @@ |
||
| 864 | 864 | return false; |
| 865 | 865 | } |
| 866 | 866 | |
| 867 | + /** |
|
| 868 | + * @param \PlaygroundGame\Entity\Game $game |
|
| 869 | + * @param \PlaygroundUser\Entity\UserInterface $user |
|
| 870 | + */ |
|
| 867 | 871 | public function findLastEntries($game, $user, $limitScale) |
| 868 | 872 | { |
| 869 | 873 | $limitDate = $this->getLimitDate($limitScale); |
@@ -230,6 +230,9 @@ |
||
| 230 | 230 | return $question; |
| 231 | 231 | } |
| 232 | 232 | |
| 233 | + /** |
|
| 234 | + * @return string |
|
| 235 | + */ |
|
| 233 | 236 | public function calculateMaxAnswersQuestion($question) |
| 234 | 237 | { |
| 235 | 238 | $question_max_points = 0; |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | /** |
| 244 | 244 | * This method get the games and add them as Dynareas to PlaygroundCms so that blocks can be dynamically added to the games. |
| 245 | 245 | * |
| 246 | - * @param EventManager $e |
|
| 246 | + * @param MvcEvent $e |
|
| 247 | 247 | * @return array |
| 248 | 248 | */ |
| 249 | 249 | public function updateDynareas(MvcEvent $e) |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | /** |
| 266 | 266 | * This method get the cron config for this module an add them to the listener |
| 267 | 267 | * |
| 268 | - * @param EventManager $e |
|
| 268 | + * @param MvcEvent $e |
|
| 269 | 269 | * @return array |
| 270 | 270 | */ |
| 271 | 271 | public function addCronjob(MvcEvent $e) |