@@ -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 | { |
@@ -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) |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use PlaygroundGame\Service\GameService; |
9 | 9 | use PlaygroundGame\Service\Prize as PrizeService; |
10 | 10 | use Zend\View\Model\JsonModel; |
11 | -use ZfcUser\Options\UserControllerOptionsInterface; |
|
12 | 11 | use Zend\Http\PhpEnvironment\Response; |
13 | 12 | use Zend\Stdlib\Parameters; |
14 | 13 |
@@ -967,6 +967,10 @@ discard block |
||
967 | 967 | return false; |
968 | 968 | } |
969 | 969 | |
970 | + /** |
|
971 | + * @param \PlaygroundGame\Entity\Game $game |
|
972 | + * @param \PlaygroundUser\Entity\UserInterface $user |
|
973 | + */ |
|
970 | 974 | public function findLastEntries($game, $user, $limitScale) |
971 | 975 | { |
972 | 976 | $limitDate = $this->getLimitDate($limitScale); |
@@ -1173,6 +1177,12 @@ discard block |
||
1173 | 1177 | return false; |
1174 | 1178 | } |
1175 | 1179 | |
1180 | + /** |
|
1181 | + * @param \PlaygroundGame\Entity\Game $game |
|
1182 | + * @param \PlaygroundUser\Entity\User $user |
|
1183 | + * @param Entry $entry |
|
1184 | + * @param \PlaygroundGame\Entity\Prize $prize |
|
1185 | + */ |
|
1176 | 1186 | public function sendResultMail($game, $user, $entry, $template = 'entry', $prize = null) |
1177 | 1187 | { |
1178 | 1188 | $mailService = $this->getServiceManager()->get('playgroundgame_message'); |