Skip to content

Commit

Permalink
Using push() instead of add() since the latter is php 5.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Sep 22, 2014
1 parent a736972 commit ed71b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collection/Iterator/BufferedIterator.php
Expand Up @@ -128,7 +128,7 @@ public function valid() {
if ($valid) {
$this->_current = parent::current();
$this->_key = parent::key();
$this->_buffer->add($this->_index, [
$this->_buffer->push([
'key' => $this->_key,
'value' => $this->_current
]);
Expand Down

0 comments on commit ed71b0f

Please sign in to comment.