@@ -70,7 +70,7 @@ |
||
70 | 70 | |
71 | 71 | /** |
72 | 72 | * Remove all cached files (translations/resources) |
73 | - * @return void |
|
73 | + * @return boolean |
|
74 | 74 | */ |
75 | 75 | public function flushCache() |
76 | 76 | { |
@@ -3,18 +3,15 @@ |
||
3 | 3 | namespace Kunstmaan\UserManagementBundle\Controller; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Kunstmaan\AdminBundle\Controller\BaseSettingsController; |
8 | 7 | use Kunstmaan\AdminBundle\Entity\Group; |
9 | 8 | use Kunstmaan\AdminBundle\FlashMessages\FlashTypes; |
10 | 9 | use Kunstmaan\AdminBundle\Form\GroupType; |
11 | 10 | use Kunstmaan\AdminListBundle\AdminList\AdminList; |
12 | - |
|
13 | 11 | use Kunstmaan\UserManagementBundle\AdminList\GroupAdminListConfigurator; |
14 | 12 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
15 | 13 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
16 | 14 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
17 | - |
|
18 | 15 | use Symfony\Component\HttpFoundation\RedirectResponse; |
19 | 16 | use Symfony\Component\HttpFoundation\Request; |
20 | 17 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\UserManagementBundle\Controller; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Kunstmaan\AdminBundle\Controller\BaseSettingsController; |
8 | 7 | use Kunstmaan\AdminBundle\Entity\Role; |
9 | 8 | use Kunstmaan\AdminBundle\FlashMessages\FlashTypes; |
@@ -228,7 +228,7 @@ |
||
228 | 228 | * @Method({"GET", "POST"}) |
229 | 229 | * |
230 | 230 | * @throws AccessDeniedException |
231 | - * @return array |
|
231 | + * @return RedirectResponse |
|
232 | 232 | */ |
233 | 233 | public function deleteAction(Request $request, $id) |
234 | 234 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * Returns a list of filters. |
26 | 26 | * |
27 | - * @return array An array of filters |
|
27 | + * @return \Twig_SimpleFilter[] An array of filters |
|
28 | 28 | */ |
29 | 29 | public function getFilters() |
30 | 30 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\VotingBundle\Services; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Kunstmaan\VotingBundle\Event\Facebook\FacebookLikeEvent; |
8 | 7 | use Kunstmaan\VotingBundle\Event\Facebook\FacebookSendEvent; |
9 | 8 | use Kunstmaan\VotingBundle\Event\LinkedIn\LinkedInShareEvent; |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | |
23 | 23 | /** |
24 | 24 | * Constructor |
25 | - * @param Object $em entity manager |
|
25 | + * @param EntityManager $em entity manager |
|
26 | 26 | */ |
27 | 27 | public function __construct(EntityManager $em) |
28 | 28 | { |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * Return repository for event |
34 | 34 | * @param Event $event event |
35 | 35 | * |
36 | - * @return Repository |
|
36 | + * @return \Doctrine\Common\Persistence\ObjectRepository|null |
|
37 | 37 | */ |
38 | 38 | public function getRepositoryForEvent($event) |
39 | 39 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * Return a repository By name |
67 | 67 | * @param string $name name |
68 | 68 | * |
69 | - * @return Repository |
|
69 | + * @return \Doctrine\Common\Persistence\ObjectRepository |
|
70 | 70 | */ |
71 | 71 | protected function getRepository($name) |
72 | 72 | { |
@@ -12,6 +12,9 @@ |
||
12 | 12 | |
13 | 13 | class ExceptionController extends AdminListController |
14 | 14 | { |
15 | + /** |
|
16 | + * @return \Kunstmaan\AdminListBundle\AdminList\Configurator\AbstractAdminListConfigurator |
|
17 | + */ |
|
15 | 18 | private function getAdminListConfigurator() |
16 | 19 | { |
17 | 20 | if ( !isset($this->configurator) ) { |
@@ -156,7 +156,7 @@ |
||
156 | 156 | } |
157 | 157 | |
158 | 158 | /** |
159 | - * @param int $triggered |
|
159 | + * @param integer $events |
|
160 | 160 | */ |
161 | 161 | public function setEvents($events) |
162 | 162 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Kunstmaan\AdminBundle\Helper\FormHelper; |
7 | -use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\TabInterface; |
|
8 | 7 | use Symfony\Component\Form\AbstractType; |
9 | 8 | use Symfony\Component\Form\FormBuilderInterface; |
10 | 9 | use Symfony\Component\Form\FormView; |