Completed
Push — develop ( bfe715...240b38 )
by greg
05:58 queued 02:47
created
src/PlaygroundGame/Entity/Game.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1440,7 +1440,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/PlaygroundGame/Entity/PostVotePost.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/PlaygroundGame/Entity/PrizeCategory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -251,6 +251,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/PlaygroundGame/Entity/QuizReplyAnswer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
     }
253 253
 
254 254
     /**
255
-     * @param string $playerData
255
+     * @param string $answerData
256 256
      */
257 257
     public function setAnswerData($answerData)
258 258
     {
Please login to merge, or discard this patch.
src/PlaygroundGame/Mapper/Entry.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,6 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/PlaygroundGame/Service/Quiz.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -230,6 +230,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/PlaygroundGame/Module.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/PlaygroundGame/Controller/Frontend/GameController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/PlaygroundGame/Service/Game.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -967,6 +967,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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');
Please login to merge, or discard this patch.