From b0fc360c8525bb26203822d32d3d7f31ac9d4619 Mon Sep 17 00:00:00 2001 From: yaambe Date: Wed, 8 Apr 2026 21:51:40 +0500 Subject: [PATCH] Fix duplicate delete call and typo in comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove duplicate `$this->delete()` call in EfaasSession::logOut() and fix "tje" → "the" typo in Enum trait docblock. --- src/Enums/Enum.php | 2 +- src/Models/EfaasSession.php | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Enums/Enum.php b/src/Enums/Enum.php index 498cf86..97b392d 100644 --- a/src/Enums/Enum.php +++ b/src/Enums/Enum.php @@ -7,7 +7,7 @@ trait Enum { /** - * Get tje description for the enum + * Get the description for the enum * * @return string */ diff --git a/src/Models/EfaasSession.php b/src/Models/EfaasSession.php index c56b6bb..8f871ac 100644 --- a/src/Models/EfaasSession.php +++ b/src/Models/EfaasSession.php @@ -55,8 +55,5 @@ public function logOut(?string $guard = null) // then destroy self $this->delete(); - - // then destroy self - $this->delete(); } }