Skip to content

Commit

Permalink
typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed Oct 28, 2024
1 parent b6f25b0 commit a250448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Services/UserService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit a250448

Please sign in to comment.