From 2fda197efff5dc0644e62cfea64be8f9d8ded78a Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Fri, 5 Dec 2014 10:30:02 -0700 Subject: [PATCH] Revert "added useful toArray() method on Iterator" This reverts commit 92159d1df85d385e9b4a039e92daa517257da63c. --- system/src/Grav/Common/Iterator.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/system/src/Grav/Common/Iterator.php b/system/src/Grav/Common/Iterator.php index 88f7af2c7..906a9be40 100644 --- a/system/src/Grav/Common/Iterator.php +++ b/system/src/Grav/Common/Iterator.php @@ -45,16 +45,6 @@ class Iterator implements \ArrayAccess, \Iterator, \Countable, \Serializable } } - /** - * Return the internal array used in this Iterator - * - * @return array - */ - public function toArray() - { - return $this->items; - } - /** * Convents iterator to a comma separated list. *