@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | /** |
| 125 | 125 | * Get categories. |
| 126 | 126 | * |
| 127 | - * @return string |
|
| 127 | + * @return ArrayCollection |
|
| 128 | 128 | */ |
| 129 | 129 | public function getCategories() |
| 130 | 130 | { |
@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | /** |
| 179 | - * @return string |
|
| 179 | + * @return ArrayCollection |
|
| 180 | 180 | */ |
| 181 | 181 | public function getTags() |
| 182 | 182 | { |
@@ -164,7 +164,7 @@ |
||
| 164 | 164 | /** |
| 165 | 165 | * Get category. |
| 166 | 166 | * |
| 167 | - * @return string |
|
| 167 | + * @return BlogCategory |
|
| 168 | 168 | */ |
| 169 | 169 | public function getCategory() |
| 170 | 170 | { |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | /** |
| 90 | 90 | * Add the items field to the form. |
| 91 | 91 | * |
| 92 | - * @param Form $form |
|
| 92 | + * @param \Symfony\Component\Form\FormInterface $form |
|
| 93 | 93 | */ |
| 94 | 94 | protected function addChildrenField($form) |
| 95 | 95 | { |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | - * @param FormInterface|FormBuilderInterface $builder |
|
| 81 | + * @param FormBuilderInterface $builder |
|
| 82 | 82 | * @param string $currentLocale |
| 83 | 83 | * @param array $availableLocales |
| 84 | 84 | */ |
@@ -115,7 +115,7 @@ |
||
| 115 | 115 | /** |
| 116 | 116 | * Get logo. |
| 117 | 117 | * |
| 118 | - * @return Media |
|
| 118 | + * @return string |
|
| 119 | 119 | */ |
| 120 | 120 | public function getLogo(): ?Media |
| 121 | 121 | { |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | /** |
| 222 | 222 | * Get template. |
| 223 | 223 | * |
| 224 | - * @return View |
|
| 224 | + * @return string |
|
| 225 | 225 | */ |
| 226 | 226 | public function getTemplate() |
| 227 | 227 | { |
@@ -244,7 +244,7 @@ discard block |
||
| 244 | 244 | /** |
| 245 | 245 | * Get parent. |
| 246 | 246 | * |
| 247 | - * @return View parent |
|
| 247 | + * @return null|\self parent |
|
| 248 | 248 | */ |
| 249 | 249 | public function getParent() |
| 250 | 250 | { |
@@ -780,7 +780,7 @@ discard block |
||
| 780 | 780 | } |
| 781 | 781 | |
| 782 | 782 | /** |
| 783 | - * @return array |
|
| 783 | + * @return boolean |
|
| 784 | 784 | */ |
| 785 | 785 | public function getRoles() |
| 786 | 786 | { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Returns a list of functions to add to the existing list. |
| 26 | 26 | * |
| 27 | - * @return array An array of functions |
|
| 27 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 28 | 28 | */ |
| 29 | 29 | public function getFunctions() |
| 30 | 30 | { |
@@ -148,7 +148,7 @@ |
||
| 148 | 148 | /** |
| 149 | 149 | * Set parent menu item. |
| 150 | 150 | * |
| 151 | - * @param MenuItem|null $parent |
|
| 151 | + * @param null|\self $parent |
|
| 152 | 152 | * |
| 153 | 153 | * @return MenuItem |
| 154 | 154 | */ |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Get Twig functions defined in this extension. |
| 29 | 29 | * |
| 30 | - * @return array |
|
| 30 | + * @return \Twig_SimpleFunction[] |
|
| 31 | 31 | */ |
| 32 | 32 | public function getFunctions() |
| 33 | 33 | { |