Remove phpstan comments.

This commit is contained in:
James Cole
2022-10-31 05:40:59 +01:00
parent b57785a234
commit 4e618a4d0b
88 changed files with 177 additions and 179 deletions

View File

@@ -89,7 +89,7 @@ class UserEventHandler
$url = route('invite', [$event->invitee->invite_code]);
try {
Mail::to($invitee)->send(new InvitationMail($invitee, $admin, $url));
} catch (Exception $e) { // @phpstan-ignore-line
} catch (Exception $e) {
Log::error($e->getMessage());
}
}
@@ -245,7 +245,7 @@ class UserEventHandler
try {
Mail::to($newEmail)->send(new ConfirmEmailChangeMail($newEmail, $oldEmail, $url));
} catch (Exception $e) { // @phpstan-ignore-line
} catch (Exception $e) {
Log::error($e->getMessage());
}
}
@@ -268,7 +268,7 @@ class UserEventHandler
$url = route('profile.undo-email-change', [$token->data, $hashed]);
try {
Mail::to($oldEmail)->send(new UndoEmailChangeMail($newEmail, $oldEmail, $url));
} catch (Exception $e) { // @phpstan-ignore-line
} catch (Exception $e) {
Log::error($e->getMessage());
}
}