Passed
Push — master ( 79a2f0...213c2c )
by Gombos
02:55
created
src/Traits/HasSettingsField.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             );
Please login to merge, or discard this patch.