@@ -26,7 +26,7 @@ discard block |
||
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 |
||
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 |
||
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'])) { |