Revert "rector: arrrrr"

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

No files matched your search

+3 -3
View File
@@ -22,11 +22,11 @@ class SwitchTeam extends Component
public function switch_to($team_id)
{
if (! auth()->user()->teams->contains($team_id)) {
return null;
return;
}
$team_to_switch_to = Team::query()->find($team_id);
$team_to_switch_to = Team::find($team_id);
if (! $team_to_switch_to) {
return null;
return;
}
refreshSession($team_to_switch_to);