From 5c8f370719e52c16832100162df95fecb25b49b8 Mon Sep 17 00:00:00 2001 From: Ziaratban Date: Mon, 5 Aug 2024 17:12:26 +0330 Subject: [PATCH] dev --- src/ClientSession.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ClientSession.php b/src/ClientSession.php index 3121d03cb..8324de392 100644 --- a/src/ClientSession.php +++ b/src/ClientSession.php @@ -168,10 +168,10 @@ public function getIsEnd() return true; try { - $this->mongoSession->getOperationTime(); - return true; + $this->mongoSession->isDirty(); + return false; } - catch(\Throwable) + catch(\Throwable $e) { return false; }