Merge branch 'vacation-request-ui-polishing' into #22-vacation-calendar
This commit is contained in:
@@ -16,7 +16,7 @@ class VacationDaysCalculator
|
||||
$period = CarbonPeriod::create($from, $to);
|
||||
$holidays = $yearPeriod->holidays()->pluck("date");
|
||||
|
||||
$validDays = collect();
|
||||
$validDays = new Collection();
|
||||
|
||||
foreach ($period as $day) {
|
||||
if ($this->passes($day, $holidays)) {
|
||||
|
Reference in New Issue
Block a user