@@ -15,7 +15,6 @@ |
||
15 | 15 | /** |
16 | 16 | * define supported types. |
17 | 17 | * |
18 | - * @param array $types supported types (text, media, date) |
|
19 | 18 | **/ |
20 | 19 | public function __construct($data) |
21 | 20 | { |
@@ -405,7 +405,7 @@ |
||
405 | 405 | /** |
406 | 406 | * Set viewReferencePage. |
407 | 407 | * |
408 | - * @param mixed $viewReferencePage |
|
408 | + * @param Page $viewReferencePage |
|
409 | 409 | * |
410 | 410 | * @return $this |
411 | 411 | */ |
@@ -41,7 +41,7 @@ |
||
41 | 41 | /** |
42 | 42 | * Get SubscribedEvents. |
43 | 43 | * |
44 | - * @return array |
|
44 | + * @return string[] |
|
45 | 45 | */ |
46 | 46 | public function getSubscribedEvents() |
47 | 47 | { |
@@ -36,7 +36,7 @@ |
||
36 | 36 | * |
37 | 37 | * @param Event $event |
38 | 38 | * |
39 | - * @return Ambigous <\Knp\Menu\ItemInterface, NULL> |
|
39 | + * @return \Knp\Menu\ItemInterface <\Knp\Menu\ItemInterface, NULL> |
|
40 | 40 | */ |
41 | 41 | public function addGlobal(Event $event) |
42 | 42 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * register twig functions. |
64 | 64 | * |
65 | - * @return array The list of extensions |
|
65 | + * @return \Twig_SimpleFunction[] The list of extensions |
|
66 | 66 | */ |
67 | 67 | public function getFunctions() |
68 | 68 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * register twig filters. |
81 | 81 | * |
82 | - * @return array The list of filters |
|
82 | + * @return \Twig_SimpleFilter[] The list of filters |
|
83 | 83 | */ |
84 | 84 | public function getFilters() |
85 | 85 | { |
@@ -866,7 +866,7 @@ |
||
866 | 866 | /** |
867 | 867 | * Get sitemapChangeFreq. |
868 | 868 | * |
869 | - * @return float |
|
869 | + * @return string |
|
870 | 870 | */ |
871 | 871 | public function getSitemapChangeFreq() |
872 | 872 | { |
@@ -432,7 +432,7 @@ |
||
432 | 432 | /** |
433 | 433 | * Set image. |
434 | 434 | * |
435 | - * @param string|Media $image |
|
435 | + * @param Media $image |
|
436 | 436 | * |
437 | 437 | * @return $this |
438 | 438 | */ |
@@ -193,7 +193,7 @@ |
||
193 | 193 | * |
194 | 194 | * @param Widget $widget |
195 | 195 | * |
196 | - * @return mixed |
|
196 | + * @return string |
|
197 | 197 | */ |
198 | 198 | public function renderStyle(Widget $widget) |
199 | 199 | { |
@@ -305,7 +305,7 @@ discard block |
||
305 | 305 | /** |
306 | 306 | * Get template. |
307 | 307 | * |
308 | - * @return Template |
|
308 | + * @return string |
|
309 | 309 | */ |
310 | 310 | public function getTemplate() |
311 | 311 | { |
@@ -364,7 +364,7 @@ discard block |
||
364 | 364 | /** |
365 | 365 | * Has children. |
366 | 366 | * |
367 | - * @return bool |
|
367 | + * @return integer |
|
368 | 368 | */ |
369 | 369 | public function hasChildren() |
370 | 370 | { |
@@ -600,7 +600,7 @@ discard block |
||
600 | 600 | /** |
601 | 601 | * Get i18n. |
602 | 602 | * |
603 | - * @return BaseI18n |
|
603 | + * @return string |
|
604 | 604 | */ |
605 | 605 | public function getI18n() |
606 | 606 | { |
@@ -610,7 +610,7 @@ discard block |
||
610 | 610 | /** |
611 | 611 | * Set i18n. |
612 | 612 | * |
613 | - * @param string $i18n |
|
613 | + * @param BaseI18n $i18n |
|
614 | 614 | * |
615 | 615 | * @return $this |
616 | 616 | */ |
@@ -643,7 +643,7 @@ discard block |
||
643 | 643 | /** |
644 | 644 | * Get widgets. |
645 | 645 | * |
646 | - * @return Widget[] |
|
646 | + * @return string |
|
647 | 647 | */ |
648 | 648 | public function getWidgets() |
649 | 649 | { |