diff --git a/core/modules/entity/entity.module b/core/modules/entity/entity.module index 1ded9af..e7e3ddf 100644 --- a/core/modules/entity/entity.module +++ b/core/modules/entity/entity.module @@ -255,8 +255,8 @@ function entity_load_multiple($entity_type, array $ids = NULL, $reset = FALSE) { * @param string $entity_type * The entity type to load, e.g. node or user. * @param array $values - * An associative array of properties of the entity, where the keys are the - * property names and the values are the values those properties must have. + * An associative where the keys are the property names and the + * values are the values those properties must have. * * @return array * An array of entity objects indexed by their ids. diff --git a/core/modules/entity/lib/Drupal/entity/DatabaseStorageController.php b/core/modules/entity/lib/Drupal/entity/DatabaseStorageController.php index c58068c..947db2d 100644 --- a/core/modules/entity/lib/Drupal/entity/DatabaseStorageController.php +++ b/core/modules/entity/lib/Drupal/entity/DatabaseStorageController.php @@ -144,7 +144,7 @@ class DatabaseStorageController implements EntityStorageControllerInterface { /** * Implements Drupal\entity\EntityStorageControllerInterface::load(). */ - public function load($ids = NULL) { + public function load(array $ids = NULL) { $entities = array(); // Create a new variable which is either a prepared version of the $ids diff --git a/core/modules/entity/lib/Drupal/entity/EntityStorageControllerInterface.php b/core/modules/entity/lib/Drupal/entity/EntityStorageControllerInterface.php index ed3a70d..710ec90 100644 --- a/core/modules/entity/lib/Drupal/entity/EntityStorageControllerInterface.php +++ b/core/modules/entity/lib/Drupal/entity/EntityStorageControllerInterface.php @@ -63,8 +63,8 @@ interface EntityStorageControllerInterface { * Load entities by their property values. * * @param array $values - * An associative array of properties of the entity, where the keys are the - * property names and the values are the values those properties must have. + * An associative where the keys are the property names and the + * values are the values those properties must have. * * @return array * An array of entity objects indexed by their ids.