diff --git a/core/lib/Drupal/Core/Entity/EntityStorageInterface.php b/core/lib/Drupal/Core/Entity/EntityStorageInterface.php index fc6708b74126b76b9ba8e884ac9613379d973e76..1ab7839e40d01afc14924cf52b62ab1636528590 100644 --- a/core/lib/Drupal/Core/Entity/EntityStorageInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityStorageInterface.php @@ -29,7 +29,7 @@ interface EntityStorageInterface { /** * Resets the internal entity cache. * - * @param int[]|null $ids + * @param array<string|int>|null $ids * (optional) If specified, the cache is reset for the entities with the * given ids only. */ @@ -38,7 +38,7 @@ public function resetCache(?array $ids = NULL); /** * Loads one or more entities. * - * @param int[]|null $ids + * @param array<string|int>|null $ids * An array of entity IDs, or NULL to load all entities. * * @return \Drupal\Core\Entity\EntityInterface[] @@ -50,7 +50,7 @@ public function loadMultiple(?array $ids = NULL); /** * Loads one entity. * - * @param mixed $id + * @param string|int $id * The ID of the entity to load. * * @return \Drupal\Core\Entity\EntityInterface|null @@ -61,7 +61,7 @@ public function load($id); /** * Loads an unchanged entity from the database. * - * @param mixed $id + * @param string|int $id * The ID of the entity to load. * * @return \Drupal\Core\Entity\EntityInterface|null