Passed
Branch master (79a2f0)
by Gombos
02:48
created
src/Traits/HasSettingsField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     protected static function bootHasSettingsField()
24 24
     {
25
-        static::saving(function (self $model) {
25
+        static::saving(function(self $model) {
26 26
             $model->fixSettingsValue();
27 27
         });
28 28
     }
Please login to merge, or discard this patch.
src/Traits/HasSettingsTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.