add types
This commit is contained in:
@@ -127,6 +127,7 @@ class CardOrder extends Model
|
||||
{
|
||||
return match ($type) {
|
||||
'index' => sprintf('%s/resources/card-orders', config('nova.path')),
|
||||
default => config('nova.path'),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ class LoanOrder extends Model
|
||||
/**
|
||||
* The attributes that should be cast.
|
||||
*
|
||||
* @var array
|
||||
* @var array<string, string>
|
||||
*/
|
||||
protected $casts = [
|
||||
'born_at' => 'date',
|
||||
|
||||
Reference in New Issue
Block a user