This commit is contained in:
Dan Harrin
2025-06-13 15:45:49 +01:00
@@ -615,7 +615,7 @@ trait CanImportRecords
{
$fileRules = [
'extensions:csv,txt',
function (string $attribute, mixed $value, Closure $fail) {
fn (): Closure => function (string $attribute, mixed $value, Closure $fail) {
$csvStream = $this->getUploadedFileStream($value);
if (! $csvStream) {