Skip to content

Commit 4ff80f1

Browse files
author
m1khal3v
committed
bugfix/current-deprecated Return type of ClickHouseDB\Statement::current() should either be compatible with Iterator::current()
1 parent 99931fd commit 4ff80f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Statement.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ public function rewind(): void {
581581
/**
582582
* @return mixed
583583
*/
584+
#[\ReturnTypeWillChange]
584585
public function current() {
585586
if (!isset($this->array_data[$this->iterator])) {
586587
return null;

0 commit comments

Comments
 (0)