add types

This commit is contained in:
nurmuhammet committed 2024-05-06 17:13:38 +05:00
1 parent 88b934bda1
commit e5907fe3a9
46 files changed
+465 -184

No files matched your search

+1
View File
@@ -127,6 +127,7 @@ public function panelUrl(string $type = 'index'): string
{
return match ($type) {
'index' => sprintf('%s/resources/card-orders', config('nova.path')),
default => config('nova.path'),
};
}
}
+1 -1
View File
@@ -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',