diff --git a/src/DynamoDbQueryBuilder.php b/src/DynamoDbQueryBuilder.php index d0b1ee0..ceef481 100644 --- a/src/DynamoDbQueryBuilder.php +++ b/src/DynamoDbQueryBuilder.php @@ -429,7 +429,7 @@ public function chunk($chunkSize, callable $callback) while (true) { $results = $this->getAll([], $chunkSize, false); - if ($results->isNotEmpty()) { + if (!$results->isEmpty()) { if (call_user_func($callback, $results) === false) { return false; }