Fix linting
This commit is contained in:
@@ -4,8 +4,10 @@ namespace App\Services\DatasetReader;
|
||||
|
||||
use App\Services\CsvReader;
|
||||
|
||||
class RandomOrderDataSetReader implements IDataSetReader {
|
||||
class RandomOrderDataSetReader implements IDataSetReader
|
||||
{
|
||||
public array $lines = [];
|
||||
|
||||
private array $currentLines = [];
|
||||
|
||||
private int $lastReadLineIndex = -1;
|
||||
@@ -36,7 +38,7 @@ class RandomOrderDataSetReader implements IDataSetReader {
|
||||
}
|
||||
}
|
||||
|
||||
public function getNextLine(): array | null
|
||||
public function getNextLine(): ?array
|
||||
{
|
||||
if (empty($this->currentLines)) {
|
||||
return null; // No more lines to read
|
||||
|
||||
Reference in New Issue
Block a user