Fix codestyle

This commit is contained in:
Nico Stapelbroek
2018-01-21 14:32:14 +01:00
parent b4c721d042
commit 14e15ca543
3 changed files with 4 additions and 5 deletions

View File

@@ -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
*/

View File

@@ -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());
});
}

View File

@@ -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.
|
*/