#28 - fix
This commit is contained in:
parent
29d81030ac
commit
595bb707e4
@ -24,7 +24,7 @@ class YearPeriod extends Model
|
|||||||
|
|
||||||
public static function current(): ?static
|
public static function current(): ?static
|
||||||
{
|
{
|
||||||
static::findByYear(Carbon::now()->year);
|
return static::findByYear(Carbon::now()->year);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function findByYear(int $year): ?static
|
public static function findByYear(int $year): ?static
|
||||||
|
Loading…
x
Reference in New Issue
Block a user