From 7a340cb8f80f6e69ea4feaf5f790079ca61a7071 Mon Sep 17 00:00:00 2001 From: fogelito Date: Wed, 21 Dec 2022 11:29:46 +0200 Subject: [PATCH] comments adapters since they are not in use --- src/Adapter/SwooleClient.php | 53 ++++++++++++++------------- src/Adapter/SwooleCoroutineClient.php | 53 ++++++++++++++------------- tests/MongoTest.php | 8 ++-- 3 files changed, 58 insertions(+), 56 deletions(-) diff --git a/src/Adapter/SwooleClient.php b/src/Adapter/SwooleClient.php index c1a86f24ac..e5121c8c00 100644 --- a/src/Adapter/SwooleClient.php +++ b/src/Adapter/SwooleClient.php @@ -1,28 +1,29 @@ getDatabase()->find( - 'movies', - ['$where' => 'sleep(1000) || true'], - ['maxTimeMS'=> 1] - )->cursor->firstBatch ?? []; + 'movies', + ['$where' => 'sleep(1000) || true'], + ['maxTimeMS'=> 1] + )->cursor->firstBatch ?? []; } }