Warning removal

This commit is contained in:
2025-07-08 09:41:38 +00:00
parent 1d06fa0b0a
commit ec2e637315
4 changed files with 30 additions and 28 deletions

View File

@ -17,7 +17,7 @@ $csv->setDelimiter(',');
$csv->setHeaderOffset(0);
//build a statement
$stmt = Statement::create()->where(static fn (array $record): bool => $record['category'] == "MotoGP" || $record['category'] == "500cc");
$stmt = new Statement()->where(static fn (array $record): bool => $record['category'] == "MotoGP" || $record['category'] == "500cc");
/**
* @var $riders Player[]