From 3187fbc24fa3ead64f34915c8a8cf6e65bbdb550 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Fri, 12 Jul 2019 12:43:13 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Http/Controllers/SubscribeController.php | 2 +- app/Notifications/Subscriber/ManageSubscriptionNotification.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Controllers/SubscribeController.php b/app/Http/Controllers/SubscribeController.php index 7b4ab8252..d59278c15 100644 --- a/app/Http/Controllers/SubscribeController.php +++ b/app/Http/Controllers/SubscribeController.php @@ -90,7 +90,7 @@ class SubscribeController extends Controller } // Send the subscriber a link to manage their subscription. - $subscription->notify(new ManageSubscriptionNotification); + $subscription->notify(new ManageSubscriptionNotification()); return redirect()->back()->withSuccess( sprintf('%s %s', trans('dashboard.notifications.awesome'), diff --git a/app/Notifications/Subscriber/ManageSubscriptionNotification.php b/app/Notifications/Subscriber/ManageSubscriptionNotification.php index 5d897ef4b..e8f883980 100644 --- a/app/Notifications/Subscriber/ManageSubscriptionNotification.php +++ b/app/Notifications/Subscriber/ManageSubscriptionNotification.php @@ -12,7 +12,6 @@ namespace CachetHQ\Cachet\Notifications\Subscriber; use Illuminate\Bus\Queueable; -use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; use Illuminate\Support\Facades\URL;