Completed
Pull Request — master (#2548)
by
unknown
02:28
created
src/Grid/Displayers/SwitchDisplay.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,15 +24,15 @@
 block discarded – undo
24 24
 
25 25
         $name = $this->column->getName();
26 26
 
27
-        $class = "grid-switch-" . str_replace('.', '-', $name);
27
+        $class = "grid-switch-".str_replace('.', '-', $name);
28 28
 
29 29
         $keys = collect(explode('.', $name));
30 30
         if ($keys->isEmpty()) {
31 31
             $key = $name;
32 32
         } else {
33 33
             $key = $keys->shift()
34
-                . $keys->reduce(function ($carry, $val) {
35
-                    return $carry . "[$val]";}
34
+                . $keys->reduce(function($carry, $val) {
35
+                    return $carry."[$val]"; }
36 36
                 );
37 37
         }
38 38
 
Please login to merge, or discard this patch.