Skip to content

Commit 9319207

Browse files
committed
Merge branch 'master' of https://github.com/safecat/elasticsearch-php into safecat-master
2 parents 924e1dc + 9a3341d commit 9319207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elasticsearch/Helper/Iterators/SearchHitIterator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function current()
130130
*/
131131
public function key()
132132
{
133-
return $this->current_hit_index;
133+
return $this->current_key;
134134
}
135135

136136
/**

0 commit comments

Comments
 (0)