Completed
Push — master ( c85cd5...42a870 )
by Adam
02:38
created
src/GridServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function register()
33 33
     {
34
-        $this->app->singleton('grid.builder', function ($app) {
34
+        $this->app->singleton('grid.builder', function($app) {
35 35
             return new GridBuilder($app);
36 36
         });
37 37
     }
Please login to merge, or discard this patch.
tests/GridTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $grid = new Grid($this->gridHelper);
21 21
         $grid->addColumn('name', [
22 22
             'title' => 'First name',
23
-            'clickable' => function () {
23
+            'clickable' => function() {
24 24
                 return '';
25 25
             },
26 26
             'decorators' => [
Please login to merge, or discard this patch.
src/Source/EloquentDataSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     {
46 46
         return $this
47 47
             ->source
48
-            ->when($order->getColumn(), function (Builder $builder) use ($order) {
48
+            ->when($order->getColumn(), function(Builder $builder) use ($order) {
49 49
                 return $builder->orderBy($order->getColumn(), $order->getDirection());
50 50
             })
51 51
             ->forPage($currentPage, $perPage)
Please login to merge, or discard this patch.