diff --git a/core/modules/menu_ui/menu_ui.module b/core/modules/menu_ui/menu_ui.module index 3234e769766bd19e149beaad9e95a8576622d489..47009267585f2a8ace314ca19ace424688da1349 100644 --- a/core/modules/menu_ui/menu_ui.module +++ b/core/modules/menu_ui/menu_ui.module @@ -449,9 +449,9 @@ function menu_ui_form_node_type_form_builder($entity_type, NodeTypeInterface $ty /** * Return an associative array of the custom menus names. * - * @param $all - * If FALSE return only user-added menus, or if TRUE also include - * the menus defined by the system. + * @param bool $all + * (optional) If FALSE return only user-added menus, or if TRUE also include + * the menus defined by the system. Defaults to TRUE. * * @return array * An array with the machine-readable names as the keys, and human-readable diff --git a/core/modules/menu_ui/src/MenuForm.php b/core/modules/menu_ui/src/MenuForm.php index 09f529aca4569e4643e949119f8101f1fceadbaa..0b3064e356c59efa1ede286fb613c459b4c6d753 100644 --- a/core/modules/menu_ui/src/MenuForm.php +++ b/core/modules/menu_ui/src/MenuForm.php @@ -327,9 +327,9 @@ protected function buildOverviewForm(array &$form, FormStateInterface $form_stat /** * Recursive helper function for buildOverviewForm(). * - * @param $tree + * @param \Drupal\Core\Menu\MenuLinkTreeElement[] $tree * The tree retrieved by \Drupal\Core\Menu\MenuLinkTreeInterface::load(). - * @param $delta + * @param int $delta * The default number of menu items used in the menu weight selector is 50. * * @return array