Fix linting
Some checks failed
linter / quality (push) Failing after 6m26s
tests / ci (8.4) (push) Successful in 5m6s
tests / ci (8.5) (push) Successful in 5m38s

This commit is contained in:
2026-03-23 08:44:50 +01:00
parent 9d4b02fab5
commit ef90236adc
32 changed files with 123 additions and 113 deletions

View File

@@ -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