Completed
Pull Request — master (#5616)
by
unknown
28s
created
src/Grid/Concerns/HasHeader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
     public function header(Closure $closure = null)
25 25
     {
26 26
         if (!$closure) {
27
-            return function ($query) {
28
-                return array_reduce($this->header, function ($contents, $closure) use ($query) {
27
+            return function($query) {
28
+                return array_reduce($this->header, function($contents, $closure) use ($query) {
29 29
                     $content = call_user_func($closure, $query);
30 30
                     if ($content instanceof Renderable) {
31 31
                         $content = $content->render();
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
                     if ($content instanceof Htmlable) {
35 35
                         $content = $content->toHtml();
36 36
                     }
37
-                    return $contents . $content;
37
+                    return $contents.$content;
38 38
                 });
39 39
             };
40 40
         }
Please login to merge, or discard this patch.