@@ -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'); |