diff --git a/app/Item.php b/app/Item.php index 7f2f0e9b..b0e83b4f 100644 --- a/app/Item.php +++ b/app/Item.php @@ -141,7 +141,7 @@ class Item extends Model protected function title(): Attribute { return Attribute::make( - get: fn (string $value) => ($value === 'app.dashboard' ? __('app.dashboard') : $value), + get: fn (mixed $value) => ($value === 'app.dashboard' ? __('app.dashboard') : $value), ); }