We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab7d42b commit 798b5aeCopy full SHA for 798b5ae
src/Application/User/Services/UserService.php
@@ -8,7 +8,6 @@
8
use Application\User\Data\UserData;
9
use Domain\User\Repositories\UserRepositoryContract;
10
use Illuminate\Database\Eloquent\Collection;
11
-use Illuminate\Support\Facades\DB;
12
13
class UserService implements UserServiceContract
14
{
@@ -21,6 +20,6 @@ public function index(): Collection
21
20
22
public function update($id, UserData $userData): bool
23
24
- return DB::transaction(fn(): bool => $this->userRepository->update($id, $userData));
+ return $this->userRepository->update($id, $userData);
25
}
26
0 commit comments