Exemplo n.º 1
0
 /**
  * @return void
  */
 public function cleanupBudgets()
 {
     // delete limits with amount 0:
     BudgetLimit::where('amount', 0)->delete();
 }
 /**
  * @return bool
  */
 public function cleanupBudgets() : bool
 {
     // delete limits with amount 0:
     BudgetLimit::where('amount', 0)->delete();
     return true;
 }