This commit is contained in:
Adrian Hopek 2022-01-24 14:12:15 +01:00
parent 29d81030ac
commit 595bb707e4

View File

@ -24,7 +24,7 @@ class YearPeriod extends Model
public static function current(): ?static
{
static::findByYear(Carbon::now()->year);
return static::findByYear(Carbon::now()->year);
}
public static function findByYear(int $year): ?static