Test Failed
Push — develop ( 9dccb9...240a5e )
by Nuno
03:56
created
src/Console/Commands/OptimizeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         foreach ($searchableModelsFinder->fromCommand($this) as $searchable) {
51 51
             $this->output->text('
Please login to merge, or discard this patch.
src/Settings/Settings.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             }
73 73
         }
74 74
 
75
-        return array_filter($settings, function ($value, $setting) {
75
+        return array_filter($settings, function($value, $setting) {
76 76
             return ! in_array($setting, self::$ignore, true);
77 77
         }, ARRAY_FILTER_USE_BOTH);
78 78
     }
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function changed(): array
86 86
     {
87
-        return array_filter($this->all(), function ($value, $setting) {
87
+        return array_filter($this->all(), function($value, $setting) {
88 88
             return ! array_key_exists($setting, $this->defaults) || $value !== $this->defaults[$setting];
89 89
         }, ARRAY_FILTER_USE_BOTH);
90 90
     }
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
         $viewVariables = Compiler::getViewVariables();
100 100
         $changed = $this->changed();
101 101
 
102
-        $compiled = array_filter($this->all(), function ($value, $setting) use ($viewVariables, $changed) {
102
+        $compiled = array_filter($this->all(), function($value, $setting) use ($viewVariables, $changed) {
103 103
             return in_array($setting, $viewVariables, true) || array_key_exists($setting, $changed);
104 104
         }, ARRAY_FILTER_USE_BOTH);
105 105
 
Please login to merge, or discard this patch.