run through pint
This commit is contained in:
1 parent
298bec116a
commit
9aa9d03059
16 files changed
+27
-44
No files matched your search
@@ -3,7 +3,6 @@
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Auth\Access\Response;
|
||||
|
||||
class UserPolicy
|
||||
{
|
||||
@@ -99,7 +98,7 @@ public function forceDelete(User $user, User $model): bool
|
||||
if ($model->email === 'nurmuhammet@mail.com') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if ($user->isAdmin()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user