Completed
Push — master ( b14423...6bd0cb )
by Adam
07:31
created
src/Source/EloquentSource.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.
src/Console/GridMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     protected function getStub()
47 47
     {
48
-        return __DIR__.'/stubs/grid.stub';
48
+        return __DIR__ . '/stubs/grid.stub';
49 49
     }
50 50
 
51 51
     /**
@@ -56,6 +56,6 @@  discard block
 block discarded – undo
56 56
      */
57 57
     protected function getDefaultNamespace($rootNamespace)
58 58
     {
59
-        return $rootNamespace.'\Http\Grids';
59
+        return $rootNamespace . '\Http\Grids';
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
src/GridServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         $this->commands(GridMakeCommand::class);
36 36
 
37
-        $this->app->singleton('grid.builder', function ($app) {
37
+        $this->app->singleton('grid.builder', function($app) {
38 38
             return new GridBuilder($app);
39 39
         });
40 40
     }
Please login to merge, or discard this patch.