1 Commits

Author SHA1 Message Date
f67d3c9003 More fixes for PHP 7.4 compat 2022-10-31 13:01:29 +01:00
2 changed files with 5 additions and 5 deletions

View File

@ -70,13 +70,13 @@ class CsvReader implements ReaderInterface
$this->checkLoadedSlice();
}
public function key(): mixed
public function key()
{
//$this->checkLoadedSlice();
return $this->counter;
}
public function current(): mixed
public function current()
{
//$this->checkLoadedSlice();
return $this->data[$this->currentIndex];

View File

@ -61,13 +61,13 @@ class JsonReader implements ReaderInterface
$this->checkLoadedSlice();
}
public function key(): mixed
public function key()
{
//$this->checkLoadedSlice();
return $this->counter;
}
public function current(): mixed
public function current()
{
//$this->checkLoadedSlice();
return $this->data[$this->currentIndex];