Revert "rector: arrrrr"

This reverts commit 16c0cd10d8.
This commit is contained in:
Andras Bacsai
2025-01-07 15:31:43 +01:00
parent da07b4fdcf
commit 1fe4dd722b
349 changed files with 3689 additions and 4184 deletions

View File

@@ -3,7 +3,6 @@
namespace App\Livewire\Team;
use App\Models\TeamInvitation;
use Exception;
use Livewire\Component;
class Invitations extends Component
@@ -19,11 +18,9 @@ class Invitations extends Component
$initiation_found->delete();
$this->refreshInvitations();
$this->dispatch('success', 'Invitation revoked.');
} catch (Exception) {
} catch (\Exception) {
return $this->dispatch('error', 'Invitation not found.');
}
return null;
}
public function refreshInvitations()