Completed
Push — master ( 14f10a...6ec6b5 )
by Adam
02:31
created
src/Source/EloquentDataSource.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     }
97 97
 
98 98
     /**
99
-     * @param $name
99
+     * @param string $name
100 100
      * @param Request $request
101 101
      * @return bool
102 102
      */
Please login to merge, or discard this 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) use ($order) {
48
+            ->when($order->getColumn(), function($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/Row.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,6 @@
 block discarded – undo
76 76
 
77 77
     /**
78 78
      * Get cell object by name.
79
-
80 79
      * @param string $name  Column name
81 80
      * @return CellInterface|null
82 81
      */
Please login to merge, or discard this patch.
src/GridHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      * Generate an html tag.
110 110
      *
111 111
      * @param string $tag
112
-     * @param mixed $content
112
+     * @param string $content
113 113
      * @param array  $attributes
114 114
      *
115 115
      * @return \Illuminate\Support\HtmlString
Please login to merge, or discard this patch.
tests/GridBuilderTestCase.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Illuminate\Contracts\Container\Container;
4 3
 use Orchestra\Testbench\TestCase;
5 4
 use Collective\Html\HtmlBuilder;
6 5
 use Collective\Html\FormBuilder;
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
@@ -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.