From 9d5bf0bd1ed630ce1b16bb3604d1466bd8c12dbc Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Thu, 24 Dec 2015 10:12:16 +0100 Subject: [PATCH] Issue #2461671 by keopx, er.pushpinderrana, marieke_h, jhodgdon, alexpott, Berdir, joachim: Entity::load() docs has parameter that is not needed due to inheritdoc --- core/lib/Drupal/Core/Entity/Entity.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/core/lib/Drupal/Core/Entity/Entity.php b/core/lib/Drupal/Core/Entity/Entity.php index 8164d7c1a3f..b49f3d48c45 100644 --- a/core/lib/Drupal/Core/Entity/Entity.php +++ b/core/lib/Drupal/Core/Entity/Entity.php @@ -320,11 +320,6 @@ abstract class Entity implements EntityInterface { /** * {@inheritdoc} - * - * Returns a list of URI relationships supported by this entity. - * - * @return array - * An array of link relationships supported by this entity. */ public function uriRelationships() { return array_keys($this->linkTemplates()); @@ -497,9 +492,6 @@ abstract class Entity implements EntityInterface { /** * {@inheritdoc} - * - * @return static|null - * The entity object or NULL if there is no entity with the given ID. */ public static function load($id) { $entity_manager = \Drupal::entityManager(); @@ -508,10 +500,6 @@ abstract class Entity implements EntityInterface { /** * {@inheritdoc} - * - * @return static[] - * An array of entity objects indexed by their IDs. Returns an empty array - * if no matching entities are found. */ public static function loadMultiple(array $ids = NULL) { $entity_manager = \Drupal::entityManager(); @@ -520,9 +508,6 @@ abstract class Entity implements EntityInterface { /** * {@inheritdoc} - * - * @return static - * The entity object. */ public static function create(array $values = array()) { $entity_manager = \Drupal::entityManager();