diff --git a/app/Bus/Handlers/Events/IncidentUpdate/SendIncidentUpdateEmailNotificationHandler.php b/app/Bus/Handlers/Events/IncidentUpdate/SendIncidentUpdateEmailNotificationHandler.php index 4fb98914..44760481 100644 --- a/app/Bus/Handlers/Events/IncidentUpdate/SendIncidentUpdateEmailNotificationHandler.php +++ b/app/Bus/Handlers/Events/IncidentUpdate/SendIncidentUpdateEmailNotificationHandler.php @@ -36,7 +36,7 @@ class SendIncidentUpdateEmailNotificationHandler * Create a new send incident email notification handler. * * @param \CachetHQ\Cachet\Integrations\Contracts\System $system - * @param \CachetHQ\Cachet\Models\Subscriber $subscriber + * @param \CachetHQ\Cachet\Models\Subscriber $subscriber * * @return void */ diff --git a/app/Models/Schedule.php b/app/Models/Schedule.php index c5f55a96..6202952b 100644 --- a/app/Models/Schedule.php +++ b/app/Models/Schedule.php @@ -161,8 +161,8 @@ class Schedule extends Model implements HasPresenter */ public function scopeInProgress(Builder $query) { - return $query->where('scheduled_at', '<=', Carbon::now())->where('status', '!=', self::COMPLETE)->where(function($query) { - $query->whereNull('completed_at')->orWhere('completed_at','>', Carbon::now()); + return $query->where('scheduled_at', '<=', Carbon::now())->where('status', '!=', self::COMPLETE)->where(function ($query) { + $query->whereNull('completed_at')->orWhere('completed_at', '>', Carbon::now()); }); } diff --git a/config/setting.php b/config/setting.php index 38cad3d0..4f58d404 100644 --- a/config/setting.php +++ b/config/setting.php @@ -33,13 +33,12 @@ return [ 'enable_subscribers' => true, - /* |-------------------------------------------------------------------------- | Suppress notifications while in maintenance |-------------------------------------------------------------------------- | - | Whether to suppress notification channels when an issue is created during + | Whether to suppress notification channels if an issue is created during | planned or in-progress maintenance periods. | */