testing php storm code cleanup and styling

This commit is contained in:
Andras Bacsai committed 2023-08-08 11:51:36 +02:00
1 parent a8ee779b31
commit f2228cec7b
368 files changed
+23834 -2623

No files matched your search

+5 -1
View File
@@ -12,14 +12,17 @@ class InviteLink extends Component
{
public string $email;
public string $role = 'member';
public function mount()
{
$this->email = isDev() ? 'test3@example.com' : '';
}
public function viaEmail()
{
$this->generate_invite_link(isEmail: true);
}
private function generate_invite_link(bool $isEmail = false)
{
try {
@@ -72,8 +75,9 @@ class InviteLink extends Component
return general_error_handler(err: $e, that: $this, customErrorMessage: $error_message);
}
}
public function viaLink()
{
$this->generate_invite_link();
}
}
}