@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use PlaygroundGame\Service\Game as AdminGameService; |
| 6 | 6 | use Zend\Mvc\Controller\AbstractActionController; |
| 7 | -use Zend\View\Model\ViewModel; |
|
| 8 | 7 | use PlaygroundGame\Options\ModuleOptions; |
| 9 | 8 | use Zend\Paginator\Paginator; |
| 10 | 9 | use DoctrineORMModule\Paginator\Adapter\DoctrinePaginator as DoctrineAdapter; |
@@ -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; |