rector: arrrrr

This commit is contained in:
Andras Bacsai
2025-01-07 14:52:08 +01:00
parent c702ebff6d
commit 16c0cd10d8
349 changed files with 4204 additions and 3712 deletions

View File

@@ -3,6 +3,7 @@
namespace App\Console\Commands;
use App\Models\User;
use Exception;
use Illuminate\Console\Command;
class AdminRemoveUser extends Command
@@ -46,7 +47,7 @@ class AdminRemoveUser extends Command
$team->delete();
}
$user->delete();
} catch (\Exception $e) {
} catch (Exception $e) {
$this->error('Failed to remove user.');
$this->error($e->getMessage());