Skip to content

Commit

Permalink
Change to empty check to guard against empty strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmichaelward committed Sep 19, 2024
1 parent 21e279e commit a612e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DbExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function extract(false|string $incremental = false): Generator
$hashedQuery = $this->createHashedQuery();
$lastId = null;

if ($incremental) {
if (! empty($incremental)) {
$hashedQuery->where($this->updateColumn, '>=', $incremental);
}

Expand Down

0 comments on commit a612e82

Please sign in to comment.