diff --git a/core/includes/menu.inc b/core/includes/menu.inc index 1eeff3a..577b0d5 100644 --- a/core/includes/menu.inc +++ b/core/includes/menu.inc @@ -618,7 +618,7 @@ function _menu_check_access(&$item, $map) { * strings in the database, yet display of them in the language required * by the current user. * - * @param $item + * @param $item array|\Drupal\menu_link\MenuLinkInterface * A menu router item or a menu link item. * @param $map * The path as an array with objects already replaced. E.g., for path diff --git a/core/includes/path.inc b/core/includes/path.inc index 4c7aab7..087a858 100644 --- a/core/includes/path.inc +++ b/core/includes/path.inc @@ -5,8 +5,8 @@ * Functions to handle paths in Drupal. */ -use Symfony\Component\HttpFoundation\Request; use Drupal\menu_link\Entity\MenuLink; +use Symfony\Component\HttpFoundation\Request; /** * Check if the current page is the front page. diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/MapItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/MapItem.php index 1e0fa79..32d8479 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/MapItem.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/MapItem.php @@ -22,10 +22,7 @@ class MapItem extends FieldItemBase { /** - * Overrides \Drupal\Core\Entity\Field\FieldItemBase::setValue(). - * - * @param array|null $values - * An array of property values. + * {@inheritdoc} */ public function setValue($values, $notify = TRUE) { $this->values = array();