diff --git a/core/lib/Drupal/Core/Entity/FieldableDatabaseStorageController.php b/core/lib/Drupal/Core/Entity/FieldableDatabaseStorageController.php index 907e3cd..05e1583 100644 --- a/core/lib/Drupal/Core/Entity/FieldableDatabaseStorageController.php +++ b/core/lib/Drupal/Core/Entity/FieldableDatabaseStorageController.php @@ -523,7 +523,7 @@ protected function buildQuery($ids, $revision_id = FALSE) { * (Optional) ID of the revision that was loaded, or FALSE if the most * current revision was loaded. */ - protected function postLoad(&$queried_entities, $revision_id = FALSE) { + protected function postLoad(array &$queried_entities, $revision_id = FALSE) { // Map the loaded records into entity objects and according fields. $queried_entities = $this->mapFromStorageRecords($queried_entities, $revision_id); diff --git a/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/Entity/EntityTestRender.php b/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/Entity/EntityTestRender.php index 7fefbd5..455d5e2 100644 --- a/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/Entity/EntityTestRender.php +++ b/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/Entity/EntityTestRender.php @@ -18,7 +18,7 @@ * label = @Translation("Test render entity"), * module = "entity_test", * controllers = { - * "storage" = "Drupal\entity_test\FieldableDatabaseStorageController", + * "storage" = "Drupal\Core\Entity\FieldableDatabaseStorageController", * "render" = "Drupal\entity_test\EntityTestRenderController", * "access" = "Drupal\entity_test\EntityTestAccessController", * "form" = {