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