summaryrefslogtreecommitdiff
path: root/framework/Collections/TQueue.php
diff options
context:
space:
mode:
authoruacaman <>2011-05-10 20:02:10 +0000
committeruacaman <>2011-05-10 20:02:10 +0000
commit9be85680cfb74fbb5a566822aeb7d38f7c2dc8ca (patch)
tree29553c08463775a542476e09e600603f1d8bc076 /framework/Collections/TQueue.php
parent7c29913f89d0f16f63c4e457e1a232df6e51e905 (diff)
Issue 264 : Changed Collection to use PHP native ArrayIterator
Diffstat (limited to 'framework/Collections/TQueue.php')
-rw-r--r--framework/Collections/TQueue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Collections/TQueue.php b/framework/Collections/TQueue.php
index dc580d1e..469be018 100644
--- a/framework/Collections/TQueue.php
+++ b/framework/Collections/TQueue.php
@@ -152,7 +152,7 @@ class TQueue extends TComponent implements IteratorAggregate,Countable
*/
public function getIterator()
{
- return new TQueueIterator($this->_d);
+ return new ArrayIterator( $this->_d );
}
/**