Skip to content

Commit

Permalink
Apply fixes from StyleCI (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajitbohra authored Jan 17, 2019
1 parent 591f13f commit 09f0b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public function scopeDashboardExpiring($query)
{
return $query
->with(['members' => function ($query) {
$query->where('status', '=', \constStatus::Active);
}])
$query->where('status', '=', \constStatus::Active);
}])
->where('end_date', '<', Carbon::today()->addDays(7))
->where('status', '=', \constSubscription::onGoing);
}
Expand Down

0 comments on commit 09f0b12

Please sign in to comment.