Do some code cleanup courtesy of Mago.

This commit is contained in:
James Cole
2026-01-13 05:13:01 +01:00
parent fe9ae9c810
commit 1d41fc9845
32 changed files with 80 additions and 80 deletions

View File

@@ -74,7 +74,7 @@ class UserRepository implements UserRepositoryInterface
return true;
}
public function changePassword(User $user, string $password): bool
public function changePassword(User $user, #[\SensitiveParameter] string $password): bool
{
$user->password = bcrypt($password);
$user->save();