Skip to content

Commit

Permalink
same as previous commits for Bulk ResponseSet
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobion committed Jun 19, 2018
1 parent 8f54087 commit d66d692
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/Elastica/Bulk/ResponseSet.php
Expand Up @@ -95,13 +95,11 @@ public function hasError()
}

/**
* @return bool|\Elastica\Bulk\Response
* @return \Elastica\Bulk\Response
*/
public function current()
{
return $this->valid()
? $this->_bulkResponses[$this->key()]
: false;
return $this->_bulkResponses[$this->key()];
}

/**
Expand Down

0 comments on commit d66d692

Please sign in to comment.