Skip to content

Commit

Permalink
Extends Traversable natively
Browse files Browse the repository at this point in the history
  • Loading branch information
adlawson committed Oct 5, 2011
1 parent 6f1c1ba commit 18feb35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Restack/Queue.php
Expand Up @@ -43,7 +43,7 @@ public function setIteratorMode( $mode );
public function isEmpty();
}

interface Iterator extends \Iterator, \Transversable, \Countable
interface Iterator extends \Iterator, \Countable
{
public function rewind();
public function current();
Expand All @@ -63,7 +63,7 @@ public function offsetSet( $index, $value );
public function offsetUnset( $index );
}

interface IteratorAggregate extends \IteratorAggregate, \Transversable
interface IteratorAggregate extends \IteratorAggregate
{
public function getIterator();
public function setIterator();
Expand Down

0 comments on commit 18feb35

Please sign in to comment.