diff --git a/src/Lists/HashList.php b/src/Lists/HashList.php index e704f27..3bec60e 100644 --- a/src/Lists/HashList.php +++ b/src/Lists/HashList.php @@ -14,7 +14,6 @@ */ class HashList extends AbstractItemList { - /** * * @param Hashable $item @@ -34,17 +33,15 @@ public function add($item) return $this; } - /** * {@inheritdoc} * * @return SimpleAssocIterator */ - public function getIterator() + public function getIterator(): \Traversable { return new SimpleAssocIterator($this->getAll()); } - /** * {@inheritdoc} */ @@ -63,7 +60,6 @@ public function getNext($index) } } } - /** * {@inheritdoc} */ @@ -82,7 +78,6 @@ public function getPrevious($index) } } } - /** * Merge an instance of an implementation of the ItemListable * interface with the present one. @@ -94,5 +89,4 @@ public function merge(ItemListable $iL) { $this->items = array_merge($iL->getAll(), $this->getAll()); } - }