@@ -9,7 +9,6 @@ |
||
9 | 9 | use Symfony\Component\Form\FormEvent; |
10 | 10 | use Symfony\Component\Form\FormEvents; |
11 | 11 | use Symfony\Component\Validator\Constraints\Email; |
12 | -use Symfony\Component\Validator\Constraints\Url; |
|
13 | 12 | |
14 | 13 | class URLChooserLinkTypeSubscriber implements EventSubscriberInterface |
15 | 14 | { |
@@ -23,8 +23,8 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * @param $configHelper |
25 | 25 | * @param $queryHelper |
26 | - * @param $output |
|
27 | - * @param $em |
|
26 | + * @param OutputInterface $output |
|
27 | + * @param \Doctrine\ORM\EntityManagerInterface $em |
|
28 | 28 | */ |
29 | 29 | public function __construct($configHelper, $queryHelper, $output, $em) |
30 | 30 | { |
@@ -74,6 +74,7 @@ discard block |
||
74 | 74 | /** |
75 | 75 | * Executes the query |
76 | 76 | * |
77 | + * @param string $metrics |
|
77 | 78 | * @return array the resultset |
78 | 79 | */ |
79 | 80 | protected function executeQuery(AnalyticsOverview $overview, $metrics) |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | protected $em; |
21 | 21 | |
22 | 22 | /** |
23 | - * @param object $em entity manager |
|
23 | + * @param EntityManager $em entity manager |
|
24 | 24 | */ |
25 | 25 | public function __construct(EntityManager $em) |
26 | 26 | { |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | * |
33 | 33 | * @param Event $event event |
34 | 34 | * |
35 | - * @return Repository |
|
35 | + * @return \Doctrine\Persistence\ObjectRepository|null |
|
36 | 36 | */ |
37 | 37 | public function getRepositoryForEvent($event) |
38 | 38 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * |
67 | 67 | * @param string $name name |
68 | 68 | * |
69 | - * @return Repository |
|
69 | + * @return \Doctrine\Persistence\ObjectRepository |
|
70 | 70 | */ |
71 | 71 | protected function getRepository($name) |
72 | 72 | { |