diff --git a/src/Migration/Sources/CSV.php b/src/Migration/Sources/CSV.php index 75c489da..aee145d9 100644 --- a/src/Migration/Sources/CSV.php +++ b/src/Migration/Sources/CSV.php @@ -67,7 +67,6 @@ public function report(array $resources = []): array $file->seek(PHP_INT_MAX); $rowCount = max(0, $file->key()); - $rowCount = $rowCount > 0 ? $rowCount - 1 : 0; $report[Resource::TYPE_DOCUMENT] = $rowCount;