@@ -124,7 +124,7 @@ |
||
124 | 124 | /** |
125 | 125 | * Returns the view used in the frontend |
126 | 126 | * |
127 | - * @return mixed |
|
127 | + * @return string |
|
128 | 128 | */ |
129 | 129 | public function getDefaultView() |
130 | 130 | { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * Get the label |
41 | 41 | * |
42 | - * @return string |
|
42 | + * @return integer |
|
43 | 43 | */ |
44 | 44 | public function getLabel() |
45 | 45 | { |
@@ -71,6 +71,9 @@ |
||
71 | 71 | return $form; |
72 | 72 | } |
73 | 73 | |
74 | + /** |
|
75 | + * @return string |
|
76 | + */ |
|
74 | 77 | protected function getSubscriptionFormType() |
75 | 78 | { |
76 | 79 | return NewsletterSubscriptionType::class; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Kunstmaan\LeadGenerationBundle\Entity\Popup\AbstractPopup; |
6 | 6 | use Kunstmaan\LeadGenerationBundle\Form\NewsletterSubscriptionType; |
7 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
8 | 7 | use Symfony\Component\Routing\Annotation\Route; |
9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
10 | 9 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * @param string $urls |
32 | 32 | * |
33 | - * @return UrlWhitelistRule |
|
33 | + * @return UrlBlacklistRule |
|
34 | 34 | */ |
35 | 35 | public function setUrls($urls) |
36 | 36 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * Returns handler with the highest priority to handle the Media item which can handle the item. If no handler is found, it returns FileHandler |
50 | 50 | * |
51 | - * @param Media|File $media |
|
51 | + * @param Media $media |
|
52 | 52 | * |
53 | 53 | * @return AbstractMediaHandler |
54 | 54 | */ |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | } |
130 | 130 | |
131 | 131 | /** |
132 | - * @param mixed $data |
|
132 | + * @param \stdClass $data |
|
133 | 133 | * |
134 | 134 | * @return Media |
135 | 135 | */ |
@@ -58,7 +58,7 @@ |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
61 | - * @return mixed |
|
61 | + * @return string |
|
62 | 62 | */ |
63 | 63 | public function getSoundcloudApiKey() |
64 | 64 | { |
@@ -50,7 +50,7 @@ |
||
50 | 50 | * |
51 | 51 | * @param Request $request |
52 | 52 | * |
53 | - * @return array |
|
53 | + * @return \Symfony\Component\HttpFoundation\Response |
|
54 | 54 | */ |
55 | 55 | public function indexAction(Request $request) |
56 | 56 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | 6 | use Kunstmaan\AdminBundle\Helper\DomainConfigurationInterface; |
7 | -use Kunstmaan\MenuBundle\Entity\Menu; |
|
8 | 7 | |
9 | 8 | class MenuService |
10 | 9 | { |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class SitesAdminPanelAdaptor implements AdminPanelAdaptorInterface |
10 | 10 | { |
11 | 11 | /** |
12 | - * @return AdminPanelActionInterface[] |
|
12 | + * @return AdminPanelAction[] |
|
13 | 13 | */ |
14 | 14 | public function getAdminPanelActions() |
15 | 15 | { |