Skip to content
Permalink
Browse files

Removing magic count proxy in BufferedIterator, it was a bad idea

  • Loading branch information...
lorenzo committed Sep 22, 2014
1 parent 3dda4bb commit 406d1ed50baf16257523b38332a4c1f15516151b
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/Collection/Iterator/BufferedIterator.php
@@ -158,10 +158,6 @@ public function next() {
* @return int
*/
public function count() {
if ($this->getInnerIterator() instanceof Countable) {
return $this->getInnerIterator()->count();
}
if (!$this->_started) {
$this->rewind();
}

0 comments on commit 406d1ed

Please sign in to comment.
You can’t perform that action at this time.