@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | * Inserts a new module. |
182 | 182 | * |
183 | 183 | * @param string $module The name of the module. |
184 | - * @param array|null $labels |
|
184 | + * @param string[] $labels |
|
185 | 185 | */ |
186 | 186 | protected function deleteModuleExtra(string $module, array $labels = null): void |
187 | 187 | { |
@@ -214,7 +214,6 @@ discard block |
||
214 | 214 | * |
215 | 215 | * @param int|null $parentId Id of the navigation item under we should add this. |
216 | 216 | * @param string $label Label for the item. |
217 | - * @param string|null $url Url for the item. If omitted the first child is used. |
|
218 | 217 | * @return int|null |
219 | 218 | */ |
220 | 219 | protected function getNavigation( |
@@ -317,7 +316,7 @@ discard block |
||
317 | 316 | * Delete dashboard widgets |
318 | 317 | * |
319 | 318 | * @param string $module |
320 | - * @param array $widgets |
|
319 | + * @param string[] $widgets |
|
321 | 320 | */ |
322 | 321 | protected function deleteDashboardWidgets(string $module, array $widgets): void |
323 | 322 | { |
@@ -390,7 +389,7 @@ discard block |
||
390 | 389 | /** |
391 | 390 | * Delete pages. |
392 | 391 | * |
393 | - * @param array $pages |
|
392 | + * @param string[] $pages |
|
394 | 393 | */ |
395 | 394 | protected function deletePages(array $pages): void |
396 | 395 | { |