@@ -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 | { |
@@ -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 | { |
@@ -171,6 +171,11 @@ |
||
171 | 171 | return $listener; |
172 | 172 | } |
173 | 173 | |
174 | + /** |
|
175 | + * @param Request $request |
|
176 | + * |
|
177 | + * @return \Symfony\Component\HttpKernel\Event\FilterResponseEvent |
|
178 | + */ |
|
174 | 179 | private function getFilterResponseEvent($request, $response, $requestType = HttpKernelInterface::MASTER_REQUEST) |
175 | 180 | { |
176 | 181 | $event = $this->getMockBuilder('Symfony\Component\HttpKernel\Event\FilterResponseEvent') |
@@ -285,6 +285,9 @@ discard block |
||
285 | 285 | $this->assertEquals(array('en'), $object->getBackendLocales()); |
286 | 286 | } |
287 | 287 | |
288 | + /** |
|
289 | + * @return \Symfony\Component\DependencyInjection\ContainerInterface |
|
290 | + */ |
|
288 | 291 | private function getContainer($map, $request) |
289 | 292 | { |
290 | 293 | $container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface'); |
@@ -390,6 +393,9 @@ discard block |
||
390 | 393 | return $request; |
391 | 394 | } |
392 | 395 | |
396 | + /** |
|
397 | + * @param string $uri |
|
398 | + */ |
|
393 | 399 | private function getRequestWithOverride($uri) |
394 | 400 | { |
395 | 401 | $session = new Session(new MockArraySessionStorage()); |
@@ -402,6 +408,9 @@ discard block |
||
402 | 408 | return $request; |
403 | 409 | } |
404 | 410 | |
411 | + /** |
|
412 | + * @param Request $request |
|
413 | + */ |
|
405 | 414 | private function getDomainConfiguration($request) |
406 | 415 | { |
407 | 416 | $hostMap = array( |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | /** |
110 | 110 | * Get user |
111 | 111 | * |
112 | - * @return string |
|
112 | + * @return BaseUser |
|
113 | 113 | */ |
114 | 114 | public function getUser() |
115 | 115 | { |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | /** |
133 | 133 | * Get date |
134 | 134 | * |
135 | - * @return DateTime |
|
135 | + * @return \DateTime |
|
136 | 136 | */ |
137 | 137 | public function getDate() |
138 | 138 | { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | /** |
14 | 14 | * Make sure response has a timestamp |
15 | 15 | * |
16 | - * @param FilterResponseEvent|GetResponseEvent $event |
|
16 | + * @param FilterResponseEvent $event |
|
17 | 17 | */ |
18 | 18 | public function onKernelResponse(FilterResponseEvent $event) |
19 | 19 | { |