diff --git a/core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php b/core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php index 8ac470dac6f32fe74c2a6ce9f0aa353d7887e12d..f8623afcaed906c9fda07e899f7cde51866ca21f 100644 --- a/core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php @@ -114,7 +114,7 @@ public function getActive($entity_type_id, $entity_id, array $contexts = NULL); * entity will be edited in keyed by fully qualified context ID. Defaults to * the currently available contexts. * - * @return \Drupal\Core\Entity\EntityInterface + * @return \Drupal\Core\Entity\EntityInterface[] * An array of entity object variants keyed by entity ID. * * @see getActive() @@ -160,7 +160,7 @@ public function getCanonical($entity_type_id, $entity_id, array $contexts = NULL * entity will be edited in keyed by fully qualified context ID. Defaults to * the currently available contexts. * - * @return \Drupal\Core\Entity\EntityInterface + * @return \Drupal\Core\Entity\EntityInterface[] * An array of entity object variants keyed by entity ID. * * @see getCanonical()