Fix codestyle
This commit is contained in:
@@ -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());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -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.
|
||||
|
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user