#28 - fix
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user