| @@ -34,7 +34,7 @@ | ||
| 34 | 34 | public function getSettingsValue(): array | 
| 35 | 35 |      { | 
| 36 | 36 |          if (config('model_settings.settings_table_use_cache')) { | 
| 37 | -            return cache()->rememberForever($this->getSettingsCacheKey(), function () { | |
| 37 | +            return cache()->rememberForever($this->getSettingsCacheKey(), function() { | |
| 38 | 38 | return $this->__getSettingsValue(); | 
| 39 | 39 | }); | 
| 40 | 40 | } | 
| @@ -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 | ); |