From eebbd5bef42e83d0d3d2c6061ad3dbb102eed976 Mon Sep 17 00:00:00 2001 From: shimon Date: Thu, 11 Sep 2025 15:49:24 +0300 Subject: [PATCH] removed var_dump --- src/Client.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Client.php b/src/Client.php index f201ba220c..361980c1e0 100644 --- a/src/Client.php +++ b/src/Client.php @@ -707,7 +707,6 @@ class Client */ public function count(string $collection, array $filters, array $options): int { - $filters = $this->cleanFilters($filters); // Use MongoDB's native count command with the working format instad of running find and count the results @@ -715,7 +714,7 @@ class Client self::COMMAND_COUNT => $collection, 'query' => $this->toObject($filters), ]; - var_dump($command); + // Add limit if specified if (isset($options['limit'])) { $command['limit'] = (int)$options['limit'];