Refactor CardResource and DateHelper: Clean up whitespace and update PHPDoc types
This commit is contained in:
@@ -76,11 +76,11 @@ class CardResource extends Resource
|
||||
->label(__('Card name'))
|
||||
->searchable(),
|
||||
|
||||
TextColumn::make('month')
|
||||
TextColumn::make('month')
|
||||
->label(__('Card month'))
|
||||
->searchable(),
|
||||
|
||||
TextColumn::make('year')
|
||||
TextColumn::make('year')
|
||||
->label(__('Card year'))
|
||||
->searchable(),
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ class DateHelper
|
||||
/**
|
||||
* Static numbers for months
|
||||
*
|
||||
* @return array<string, string>
|
||||
* @return array<int|string, string>
|
||||
*/
|
||||
public static function staticNumberMonths(): array
|
||||
{
|
||||
@@ -47,7 +47,6 @@ class DateHelper
|
||||
* Years until
|
||||
*
|
||||
* @param int|int $max
|
||||
*
|
||||
* @return array<string|int, string|int>
|
||||
*/
|
||||
public static function yearsUntil(int $max = 50): array
|
||||
|
||||
Reference in New Issue
Block a user