stan errors
This commit is contained in:
@@ -4,6 +4,11 @@ namespace App\Modules\DateHelper\Repositories;
|
||||
|
||||
class DateHelperRepository
|
||||
{
|
||||
/**
|
||||
* Month as number
|
||||
*
|
||||
* @return array<int, string>
|
||||
*/
|
||||
public static function monthsAsNumber(): array
|
||||
{
|
||||
$month = [];
|
||||
@@ -15,6 +20,13 @@ class DateHelperRepository
|
||||
return $month;
|
||||
}
|
||||
|
||||
/**
|
||||
* Years until
|
||||
*
|
||||
* @param int|int $max
|
||||
*
|
||||
* @return array<int, int>
|
||||
*/
|
||||
public static function yearsUntil(int $max = 50): array
|
||||
{
|
||||
$years = [];
|
||||
|
||||
Reference in New Issue
Block a user