diff --git a/core/lib/Drupal/Core/TypedData/Type/Map.php b/core/lib/Drupal/Core/TypedData/Type/Map.php index a1d474d..d7df77a 100644 --- a/core/lib/Drupal/Core/TypedData/Type/Map.php +++ b/core/lib/Drupal/Core/TypedData/Type/Map.php @@ -9,8 +9,6 @@ use Drupal\Core\TypedData\ContextAwareTypedData; use Drupal\Core\TypedData\ComplexDataInterface; -use ArrayIterator; -use IteratorAggregate; /** * The "map" data type. @@ -22,7 +20,7 @@ * By default there is no metadata for contained properties. Extending classes * may want to override Map::getPropertyDefinitions() to define it. */ -class Map extends ContextAwareTypedData implements IteratorAggregate, ComplexDataInterface { +class Map extends ContextAwareTypedData implements \IteratorAggregate, ComplexDataInterface { /** * An array of values for the contained properties. @@ -140,7 +138,7 @@ public function setPropertyValues($values) { * Implements \IteratorAggregate::getIterator(). */ public function getIterator() { - return new ArrayIterator($this->getProperties()); + return new \ArrayIterator($this->getProperties()); } /**