stan errors

This commit is contained in:
2025-03-12 23:46:17 +05:00
parent b9b2ef7c2c
commit 8bde60fc8d
18 changed files with 76 additions and 15 deletions

View File

@@ -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 = [];