convert to integer
This commit is contained in:
parent
3a6f51cd87
commit
65760f9e8c
@ -52,7 +52,9 @@ class BillReminder extends Command
|
||||
$days = explode(',', $company->schedule_bill_days);
|
||||
|
||||
foreach ($days as $day) {
|
||||
$this->remind(trim($day), $company);
|
||||
$day = (int) trim($day);
|
||||
|
||||
$this->remind($day, $company);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -52,7 +52,9 @@ class InvoiceReminder extends Command
|
||||
$days = explode(',', $company->schedule_invoice_days);
|
||||
|
||||
foreach ($days as $day) {
|
||||
$this->remind(trim($day), $company);
|
||||
$day = (int) trim($day);
|
||||
|
||||
$this->remind($day, $company);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user