Completed
Pull Request — master (#5439)
by
unknown
38s
created
src/Grid/Concerns/HasSelector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
         call_user_func($closure, $this->selector);
28 28
 
29
-        $this->header(function () {
29
+        $this->header(function() {
30 30
             return $this->renderSelector();
31 31
         });
32 32
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
         $active = Selector::parseSelected();
48 48
 
49
-        $this->selector->getSelectors()->each(function ($selector, $column) use ($active) {
49
+        $this->selector->getSelectors()->each(function($selector, $column) use ($active) {
50 50
             if (!array_key_exists($column, $active)) {
51 51
                 return;
52 52
             }
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
             $values = $active[$column];
55 55
 
56 56
             if ($selector['type'] === 'one') {
57
-                $values = (array)current($values);
57
+                $values = (array) current($values);
58 58
             }
59 59
 
60 60
             if (is_null($selector['query'])) {
Please login to merge, or discard this patch.