@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * compute the viewReference relative to a View + entity. |
26 | 26 | * |
27 | - * @param WebViewInterface $view |
|
27 | + * @param View $view |
|
28 | 28 | * |
29 | 29 | * @return ViewReference |
30 | 30 | */ |
@@ -67,7 +67,8 @@ |
||
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
70 | - * @param [] $tree |
|
70 | + * @param WebViewInterface[] $tree |
|
71 | + * @param \Doctrine\ORM\EntityManager $entityManager |
|
71 | 72 | */ |
72 | 73 | public function buildViewReferenceRecursively($tree, $entityManager) |
73 | 74 | { |
@@ -19,7 +19,6 @@ |
||
19 | 19 | * SimpleXMLElement to ViewReference |
20 | 20 | * {@inheritdoc} |
21 | 21 | * |
22 | - * @param \SimpleXMLElement $xml |
|
23 | 22 | * |
24 | 23 | * @return ViewReference |
25 | 24 | */ |
@@ -359,6 +359,9 @@ |
||
359 | 359 | return $widgetCopy; |
360 | 360 | } |
361 | 361 | |
362 | + /** |
|
363 | + * @param Widget $entity |
|
364 | + */ |
|
362 | 365 | public function cloneEntity($entity) |
363 | 366 | { |
364 | 367 | $entityCopy = clone $entity; |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * This method return a ViewReference fo an url/locale. |
51 | 51 | * |
52 | - * @param $url |
|
52 | + * @param string $url |
|
53 | 53 | * @param $locale |
54 | 54 | * |
55 | 55 | * @return mixed|null |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * Get first reference matching with parameters. |
115 | 115 | * |
116 | 116 | * @param $parameters |
117 | - * @param bool|true $transform |
|
117 | + * @param boolean $transform |
|
118 | 118 | * @param bool|false $keepChildren |
119 | 119 | * |
120 | 120 | * @return mixed |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * register twig functions. |
50 | 50 | * |
51 | - * @return array The list of extensions |
|
51 | + * @return \Twig_SimpleFunction[] The list of extensions |
|
52 | 52 | */ |
53 | 53 | public function getFunctions() |
54 | 54 | { |
@@ -64,7 +64,7 @@ |
||
64 | 64 | * |
65 | 65 | * @param $locale |
66 | 66 | * |
67 | - * @return null |
|
67 | + * @return string|null |
|
68 | 68 | */ |
69 | 69 | protected function getPrefix($locale) |
70 | 70 | { |