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();