Skip to content

Commit

Permalink
bugfix/current-deprecated Return type of ClickHouseDB\Statement::curr…
Browse files Browse the repository at this point in the history
…ent() should either be compatible with Iterator::current()
  • Loading branch information
m1khal3v committed Jun 21, 2022
1 parent 99931fd commit 4ff80f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,7 @@ public function rewind(): void {
/**
* @return mixed
*/
#[\ReturnTypeWillChange]
public function current() {
if (!isset($this->array_data[$this->iterator])) {
return null;
Expand Down

0 comments on commit 4ff80f1

Please sign in to comment.