Commit d750301a authored by Jeroen Tubex's avatar Jeroen Tubex Committed by Brad Jones
Browse files

Update EntityStorageBase.php

parent 02449696
......@@ -393,7 +393,7 @@ protected function mapFromStorageRecords(array $records) {
$entities = [];
foreach ($records as $record) {
$entity_class = $this->getEntityClass();
/** @var $entity \Drupal\Core\Entity\EntityInterface */
/** @var \Drupal\Core\Entity\EntityInterface $entity */
$entity = new $entity_class($record, $this->entityTypeId);
$entities[$entity->id()] = $entity;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment