Fix: Cast Data object from Settings

This commit is contained in:
philipp lang 2024-07-04 22:29:29 +02:00
parent 0d07975e53
commit 8609f1e9c6
1 changed files with 5 additions and 4 deletions

View File

@ -1,14 +1,15 @@
<?php
use App\Lib\Editor\EditorData;
use App\Lib\Editor\EditorDataSettingsCast;
return [
/*
* Each settings class used in your application must be registered, you can
* put them (manually) here.
*/
'settings' => [
],
'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,
],
/*