@@ -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 | { |
@@ -4,9 +4,18 @@ |
||
4 | 4 | |
5 | 5 | interface EventInterface { |
6 | 6 | |
7 | + /** |
|
8 | + * @return \Symfony\Component\HttpFoundation\Request |
|
9 | + */ |
|
7 | 10 | public function getRequest(); |
8 | 11 | |
12 | + /** |
|
13 | + * @return string |
|
14 | + */ |
|
9 | 15 | public function getReference(); |
10 | 16 | |
17 | + /** |
|
18 | + * @return integer |
|
19 | + */ |
|
11 | 20 | public function getValue(); |
12 | 21 | } |
@@ -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\ORM\EntityRepository|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\ORM\EntityRepository |
|
70 | 70 | */ |
71 | 71 | protected function getRepository($name) |
72 | 72 | { |
@@ -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\LinkedIn\LinkedInShareEvent; |
8 | 7 | use Kunstmaan\VotingBundle\Event\UpDown\DownVoteEvent; |
9 | 8 | use Kunstmaan\VotingBundle\Event\UpDown\UpVoteEvent; |
@@ -97,7 +97,7 @@ |
||
97 | 97 | /** |
98 | 98 | * Returns the Configuration to test |
99 | 99 | * |
100 | - * @return Configuration |
|
100 | + * @return KunstmaanVotingExtension |
|
101 | 101 | */ |
102 | 102 | protected function getExtension() |
103 | 103 | { |
@@ -11,6 +11,9 @@ |
||
11 | 11 | class MaxNumberByIpEventListenerTest extends \PHPUnit_Framework_TestCase |
12 | 12 | { |
13 | 13 | |
14 | + /** |
|
15 | + * @param boolean $returnNull |
|
16 | + */ |
|
14 | 17 | protected function mockRepositoryResolver($returnNull, $voteNumber = 0) |
15 | 18 | { |
16 | 19 | $mockedRepository = null ; |
@@ -29,7 +29,7 @@ |
||
29 | 29 | /** |
30 | 30 | * Get Twig functions defined in this extension. |
31 | 31 | * |
32 | - * @return array |
|
32 | + * @return \Twig_SimpleFunction[] |
|
33 | 33 | */ |
34 | 34 | public function getFunctions() |
35 | 35 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | /** |
30 | 30 | * Get Twig functions defined in this extension. |
31 | 31 | * |
32 | - * @return array |
|
32 | + * @return \Twig_SimpleFunction[] |
|
33 | 33 | */ |
34 | 34 | public function getFunctions() |
35 | 35 | { |