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