From a2504480bde1226c9fbe9c0fe1855a86a0e254d8 Mon Sep 17 00:00:00 2001 From: Mohammad Hafijul Islam Date: Mon, 28 Oct 2024 16:52:09 +0600 Subject: [PATCH] typo fixed --- src/Services/UserService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Services/UserService.php b/src/Services/UserService.php index df3746a..b83f7ba 100644 --- a/src/Services/UserService.php +++ b/src/Services/UserService.php @@ -131,7 +131,7 @@ private function formatDataFromInput($inputs, bool $forCreate = false) /** * @throws \ErrorException */ - public function update($id, array $inputs = []): ?BaseModel + public function update($id, array $inputs = []) { DB::beginTransaction(); @@ -164,7 +164,7 @@ public function update($id, array $inputs = []): ?BaseModel /** * @throws \ErrorException */ - public function updateFromAdmin($id, array $inputs = []): ?BaseModel + public function updateFromAdmin($id, array $inputs = []) { DB::beginTransaction();