Passed
Push — master ( 38b2b3...0a42af )
by Gombos
03:19
created
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.
src/Traits/HasSettingsField.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
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
         });
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
         return Cache::remember(
108 108
             config('model_settings.settings_table_cache_prefix') . '::has_field',
109 109
             now()->addDays(1),
110
-            function () {
110
+            function() {
111 111
                 return Schema::connection($this->getConnectionName())
112 112
                     ->hasColumn(
113 113
                         $this->getTable(),
Please login to merge, or discard this patch.