@@ -24,15 +24,15 @@ |
||
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 |