| @@ -24,7 +24,7 @@ discard block | ||
| 24 | 24 | |
| 25 | 25 | protected static function bootHasSettingsField() | 
| 26 | 26 |      { | 
| 27 | -        static::saving(function ($model) { | |
| 27 | +        static::saving(function($model) { | |
| 28 | 28 | /** @var self $model */ | 
| 29 | 29 | $model->fixSettingsValue(); | 
| 30 | 30 | }); | 
| @@ -99,7 +99,7 @@ discard block | ||
| 99 | 99 | return cache()->remember( | 
| 100 | 100 |                  config('model_settings.settings_table_cache_prefix') . '::has_field', | 
| 101 | 101 | now()->addDays(1), | 
| 102 | -                function () { | |
| 102 | +                function() { | |
| 103 | 103 | return Schema::hasColumn($this->getTable(), $this->getSettingsFieldName()); | 
| 104 | 104 | } | 
| 105 | 105 | ); |