From 05c0275a160b3e3c9ff8d7e3d1c9d1ca17c50468 Mon Sep 17 00:00:00 2001 From: Sahil Sharma Date: Mon, 25 Feb 2019 14:43:06 +0530 Subject: [PATCH] Change isNotEmpty to isEmpty --- src/DynamoDbQueryBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }