@@ -97,7 +97,7 @@ return [
9797
9898 /*
9999 * Each settings class used in your application must be registered, you can
100- * add them (manually) here.
100+ * put them (manually) here.
101101 */
102102 'settings' => [
103103
@@ -109,7 +109,7 @@ return [
109109 'setting_class_path' => app_path('Settings'),
110110
111111 /*
112- * In these directories settings migrations will be stored and ran when migrating. A settings
112+ * In these directories settings migrations will be stored and ran when migrating. A settings
113113 * migration created via the make:settings-migration command will be stored in the first path or
114114 * a custom defined path when running the command.
115115 */
@@ -118,7 +118,7 @@ return [
118118 ],
119119
120120 /*
121- * When no repository is set for a settings class, the following repository
121+ * When no repository was set for a settings class the following repository
122122 * will be used for loading and saving settings.
123123 */
124124 'default_repository' => 'database',
@@ -157,11 +157,12 @@ return [
157157 'enabled' => env('SETTINGS_CACHE_ENABLED', false),
158158 'store' => null,
159159 'prefix' => null,
160+ 'ttl' => null,
160161 ],
161162
162163 /*
163164 * These global casts will be automatically used whenever a property within
164- * your settings class isn't the default PHP type.
165+ * your settings class isn't a default PHP type.
165166 */
166167 'global_casts' => [
167168 DateTimeInterface::class => Spatie\LaravelSettings\SettingsCasts\DateTimeInterfaceCast::class,
@@ -240,7 +241,7 @@ This command will create a new file in `database/settings` where you can add the
240241``` php
241242use Spatie\LaravelSettings\Migrations\SettingsMigration;
242243
243- class CreateGeneralSettings extends SettingsMigration
244+ return new class extends SettingsMigration
244245{
245246 public function up(): void
246247 {
0 commit comments