Skip to content

Commit

Permalink
Change isNotEmpty to isEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
sahilsharma011 committed Feb 25, 2019
1 parent 45bd597 commit 05c0275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DynamoDbQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 05c0275

Please sign in to comment.