@@ -21,7 +21,6 @@ |
||
21 | 21 | * __invoke |
22 | 22 | * |
23 | 23 | * @access public |
24 | - * @param array $options array of options |
|
25 | 24 | * @return string |
26 | 25 | */ |
27 | 26 | public function __invoke($displayHome = null, $classType = '', $order = '', $dir = 'DESC', $nbItems = 5) |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace PlaygroundGame\View\Helper; |
4 | 4 | |
5 | 5 | use Zend\View\Helper\AbstractHelper; |
6 | -use Interop\Container\ContainerInterface; |
|
7 | 6 | |
8 | 7 | class GamesWidget extends AbstractHelper |
9 | 8 | { |
@@ -8,9 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | /** |
10 | 10 | * @param ContainerInterface $container |
11 | - * @param string $requestedName |
|
12 | - * @param array|null $options |
|
13 | - * @return mixed |
|
11 | + * @return GamesWidget |
|
14 | 12 | */ |
15 | 13 | public function __invoke(ContainerInterface $container) |
16 | 14 | { |
@@ -21,7 +21,6 @@ |
||
21 | 21 | * __invoke |
22 | 22 | * |
23 | 23 | * @access public |
24 | - * @param array $options array of options |
|
25 | 24 | * @return string |
26 | 25 | */ |
27 | 26 | public function __invoke($dateStart = null, $dateEnd = null, $classType = null, $cost = null, $order = null, $dir = 'DESC') |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace PlaygroundGame\View\Helper; |
4 | 4 | |
5 | 5 | use Zend\View\Helper\AbstractHelper; |
6 | -use Interop\Container\ContainerInterface; |
|
7 | 6 | |
8 | 7 | class NextGamesWidget extends AbstractHelper |
9 | 8 | { |
@@ -8,9 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | /** |
10 | 10 | * @param ContainerInterface $container |
11 | - * @param string $requestedName |
|
12 | - * @param array|null $options |
|
13 | - * @return mixed |
|
11 | + * @return NextGamesWidget |
|
14 | 12 | */ |
15 | 13 | public function __invoke(ContainerInterface $container) |
16 | 14 | { |
@@ -19,11 +19,7 @@ |
||
19 | 19 | use Zend\ServiceManager\ServiceLocatorInterface; |
20 | 20 | use ZfcDatagrid\Column; |
21 | 21 | use ZfcDatagrid\Action; |
22 | -use ZfcDatagrid\Column\Formatter; |
|
23 | 22 | use ZfcDatagrid\Column\Type; |
24 | -use ZfcDatagrid\Column\Style; |
|
25 | -use ZfcDatagrid\Filter; |
|
26 | -use Doctrine\ORM\Query\Expr; |
|
27 | 23 | |
28 | 24 | class Game |
29 | 25 | { |
@@ -1478,6 +1478,7 @@ |
||
1478 | 1478 | /** |
1479 | 1479 | * New standard function to send mails |
1480 | 1480 | * |
1481 | + * @param string $template |
|
1481 | 1482 | */ |
1482 | 1483 | public function mail($from, $to, $subject, $template, $data) |
1483 | 1484 | { |
@@ -7,8 +7,6 @@ |
||
7 | 7 | use ZfcDatagrid\Action; |
8 | 8 | use ZfcDatagrid\Column\Formatter; |
9 | 9 | use ZfcDatagrid\Column\Type; |
10 | -use ZfcDatagrid\Column\Style; |
|
11 | -use ZfcDatagrid\Filter; |
|
12 | 10 | use Doctrine\ORM\Query\Expr; |
13 | 11 | |
14 | 12 | class PostVote extends Game |
@@ -8,9 +8,6 @@ |
||
8 | 8 | use Zend\Validator; |
9 | 9 | use PlaygroundGame\Controller\Admin\GameController; |
10 | 10 | use Zend\View\Model\ViewModel; |
11 | -use Zend\Paginator\Paginator; |
|
12 | -use PlaygroundCore\ORM\Pagination\LargeTablePaginator; |
|
13 | -use DoctrineORMModule\Paginator\Adapter\DoctrinePaginator as DoctrineAdapter; |
|
14 | 11 | |
15 | 12 | class InstantWinController extends GameController |
16 | 13 | { |
@@ -5,11 +5,6 @@ |
||
5 | 5 | use Zend\Stdlib\ErrorHandler; |
6 | 6 | use ZfcDatagrid\Column; |
7 | 7 | use ZfcDatagrid\Action; |
8 | -use ZfcDatagrid\Column\Formatter; |
|
9 | -use ZfcDatagrid\Column\Type; |
|
10 | -use ZfcDatagrid\Column\Style; |
|
11 | -use ZfcDatagrid\Filter; |
|
12 | -use Doctrine\ORM\Query\Expr; |
|
13 | 8 | |
14 | 9 | class InstantWin extends Game |
15 | 10 | { |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | } |
177 | 177 | |
178 | 178 | /** |
179 | - * @return the unknown_type |
|
179 | + * @return integer unknown_type |
|
180 | 180 | */ |
181 | 181 | public function getVoteActive() |
182 | 182 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | } |
213 | 213 | |
214 | 214 | /** |
215 | - * @return bool |
|
215 | + * @return integer |
|
216 | 216 | */ |
217 | 217 | public function getModerationType() |
218 | 218 | { |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | } |
231 | 231 | |
232 | 232 | /** |
233 | - * @return bool |
|
233 | + * @return integer |
|
234 | 234 | */ |
235 | 235 | public function getMailModerationValidated() |
236 | 236 | { |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | } |
267 | 267 | |
268 | 268 | /** |
269 | - * @return bool |
|
269 | + * @return integer |
|
270 | 270 | */ |
271 | 271 | public function getMailModerationRejected() |
272 | 272 | { |