Skip to content

Commit

Permalink
Merge pull request baopham#190 from sahilsharma011/removeIsNotEmpty
Browse files Browse the repository at this point in the history
Change isNotEmpty to isEmpty
  • Loading branch information
baopham authored Feb 25, 2019
2 parents 45bd597 + 05c0275 commit af4f908
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 af4f908

Please sign in to comment.