Upgrade to laravel 11

This commit is contained in:
James Cole
2024-03-17 09:19:01 +01:00
parent 7224f1be6f
commit e3a6e5b788
23 changed files with 577 additions and 911 deletions

View File

@@ -304,7 +304,7 @@ class Navigation
{
$endOfMonth = $date->copy()->endOfMonth();
return $date->diffInDays($endOfMonth);
return (int) $date->diffInDays($endOfMonth);
}
public function diffInPeriods(string $period, int $skip, Carbon $beginning, Carbon $end): int