More fixes for PHP 7.4 compat
This commit is contained in:
1 parent
4b9e6f4c29
commit
f67d3c9003
2 files changed
+4
-4
No files matched your search
@@ -70,13 +70,13 @@ class CsvReader implements ReaderInterface
|
|||||||
$this->checkLoadedSlice();
|
$this->checkLoadedSlice();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function key(): mixed
|
public function key()
|
||||||
{
|
{
|
||||||
//$this->checkLoadedSlice();
|
//$this->checkLoadedSlice();
|
||||||
return $this->counter;
|
return $this->counter;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function current(): mixed
|
public function current()
|
||||||
{
|
{
|
||||||
//$this->checkLoadedSlice();
|
//$this->checkLoadedSlice();
|
||||||
return $this->data[$this->currentIndex];
|
return $this->data[$this->currentIndex];
|
||||||
|
|||||||
@@ -61,13 +61,13 @@ class JsonReader implements ReaderInterface
|
|||||||
$this->checkLoadedSlice();
|
$this->checkLoadedSlice();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function key(): mixed
|
public function key()
|
||||||
{
|
{
|
||||||
//$this->checkLoadedSlice();
|
//$this->checkLoadedSlice();
|
||||||
return $this->counter;
|
return $this->counter;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function current(): mixed
|
public function current()
|
||||||
{
|
{
|
||||||
//$this->checkLoadedSlice();
|
//$this->checkLoadedSlice();
|
||||||
return $this->data[$this->currentIndex];
|
return $this->data[$this->currentIndex];
|
||||||
|
|||||||
Reference in new issue
Block a user