Commit 4ce3fdde authored by Viral Solani's avatar Viral Solani Committed by StyleCI Bot

Apply fixes from StyleCI

parent be69311f
...@@ -142,8 +142,8 @@ class UserRepository extends BaseRepository ...@@ -142,8 +142,8 @@ class UserRepository extends BaseRepository
DB::transaction(function () use ($user, $data, $roles, $permissions) { DB::transaction(function () use ($user, $data, $roles, $permissions) {
if ($user->update($data)) { if ($user->update($data)) {
$user->status = isset($data['status']) && $data['status'] == "1" ? 1 : 0; $user->status = isset($data['status']) && $data['status'] == '1' ? 1 : 0;
$user->confirmed = isset($data['confirmed']) && $data['confirmed'] == "1" ? 1 : 0; $user->confirmed = isset($data['confirmed']) && $data['confirmed'] == '1' ? 1 : 0;
$user->save(); $user->save();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment