Skip to content

Commit da780c2

Browse files
suraj-webkulgithub-actions[bot]
authored andcommitted
chore: applied pint changes
1 parent 91bd036 commit da780c2

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

packages/Webkul/Admin/src/Http/Controllers/Settings/UserController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function edit(int $id): View|JsonResponse
110110
public function update(int $id): JsonResponse
111111
{
112112
$this->validate(request(), [
113-
'email' => 'required|email|unique:users,email,' . $id,
113+
'email' => 'required|email|unique:users,email,'.$id,
114114
'name' => 'required|string',
115115
'password' => 'nullable|string|min:6',
116116
'confirm_password' => 'nullable|required_with:password|same:password',
@@ -147,7 +147,6 @@ public function update(int $id): JsonResponse
147147
]);
148148
}
149149

150-
151150
/**
152151
* Search user results.
153152
*/

packages/Webkul/Contact/src/Database/Migrations/2024_09_09_112201_add_unique_id_to_person_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function up(): void
1616
$table->string('unique_id')->nullable()->unique();
1717
});
1818

19-
$tableName = DB::getTablePrefix() . 'persons';
19+
$tableName = DB::getTablePrefix().'persons';
2020

2121
DB::statement("
2222
UPDATE {$tableName}

packages/Webkul/User/src/Models/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class User extends Authenticatable implements UserContract
2525
'api_token',
2626
'role_id',
2727
'status',
28-
'view_permission'
28+
'view_permission',
2929
];
3030

3131
/**

0 commit comments

Comments
 (0)