This commit is contained in:
Adrian Hopek
2022-02-17 11:31:24 +01:00
parent 026dd87a44
commit de05798e06
10 changed files with 1104 additions and 168 deletions

View File

@@ -29,7 +29,7 @@ class CalendarGenerator
return $this->generateCalendar($period, $holidays);
}
protected function monthNameToNumber($name): int
protected function monthNameToNumber(string $name): int
{
return match ($name) {
default => CarbonInterface::JANUARY,