From 280ca12e97d41a97c0ea884c4cfabe4845a685ac Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 19 Oct 2020 18:36:57 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Notifications/TeamInvitation.php | 2 +- stubs/app/Actions/Jetstream/InviteTeamMember.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Notifications/TeamInvitation.php b/src/Notifications/TeamInvitation.php index c5ce8d4af..ba06fafa0 100644 --- a/src/Notifications/TeamInvitation.php +++ b/src/Notifications/TeamInvitation.php @@ -52,7 +52,7 @@ public function toMail($notifiable) return (new MailMessage) ->line('The introduction to the notification.') ->action(__('Accept Invitation'), URL::signedRoute('team-invitations.accept', [ - 'invitation' => $this->invitation + 'invitation' => $this->invitation, ])) ->line('Thank you for using our application!'); } diff --git a/stubs/app/Actions/Jetstream/InviteTeamMember.php b/stubs/app/Actions/Jetstream/InviteTeamMember.php index 089247548..7605a7d3b 100644 --- a/stubs/app/Actions/Jetstream/InviteTeamMember.php +++ b/stubs/app/Actions/Jetstream/InviteTeamMember.php @@ -51,7 +51,7 @@ protected function validate($team, string $email, ?string $role) 'email' => $email, 'role' => $role, ], $this->rules(), [ - 'email.unique' => __('This user has already been invited to the team.') + 'email.unique' => __('This user has already been invited to the team.'), ])->after( $this->ensureUserIsNotAlreadyOnTeam($team, $email) )->validateWithBag('addTeamMember');