Skip to content

Commit e518d39

Browse files
authored
Merge pull request #77 from utopia-php/fix-count
Fix: documents count
2 parents 8a56e92 + 572b11e commit e518d39

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Migration/Sources/CSV.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ public function report(array $resources = []): array
6767

6868
$file->seek(PHP_INT_MAX);
6969
$rowCount = max(0, $file->key());
70-
$rowCount = $rowCount > 0 ? $rowCount - 1 : 0;
7170

7271
$report[Resource::TYPE_DOCUMENT] = $rowCount;
7372

0 commit comments

Comments
 (0)