From 8609f1e9c6e3af824637a2119a1b38853710ff0a Mon Sep 17 00:00:00 2001 From: philipp lang Date: Thu, 4 Jul 2024 22:29:29 +0200 Subject: [PATCH] Fix: Cast Data object from Settings --- config/settings.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config/settings.php b/config/settings.php index 4ccf6894..66a6136b 100644 --- a/config/settings.php +++ b/config/settings.php @@ -1,14 +1,15 @@ [ - - ], + 'settings' => [], /* * In these directories settings migrations will be stored and ran when migrating. A settings @@ -60,7 +61,7 @@ return [ 'global_casts' => [ DateTimeInterface::class => Spatie\LaravelSettings\SettingsCasts\DateTimeInterfaceCast::class, DateTimeZone::class => Spatie\LaravelSettings\SettingsCasts\DateTimeZoneCast::class, - Spatie\DataTransferObject\DataTransferObject::class => Spatie\LaravelSettings\SettingsCasts\DtoCast::class, + Spatie\LaravelData\Data::class => Spatie\LaravelSettings\SettingsCasts\DataCast::class, ], /*