Skip to content

Commit f2a2c6c

Browse files
committed
Fix row variable iteration
1 parent 6b5b3e5 commit f2a2c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Import/Jobs/CollateFailedChunks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function handle(): void
6868

6969
$failedRows = SimpleExcelReader::create($filepath)->getRows();
7070

71-
if ($failedRows->count() > 0) {
71+
if ($failedRows->isNotEmpty()) {
7272
$hasFailedRows = true;
7373
// Read the file and write it to the failed import file
7474
$failedImportWriter->addRows($failedRows);

0 commit comments

Comments
 (0)