Completed
Pull Request — master (#118)
by
unknown
02:27
created
src/CollectionDataProvider.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Illuminate\Database\Eloquent\Builder;
5 5
 use Event;
6
-use Illuminate\Foundation\Application;
7 6
 use Illuminate\Support\Collection;
8 7
 
9 8
 class CollectionDataProvider extends DataProvider
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,8 +108,7 @@
 block discarded – undo
108 108
     {
109 109
         if($direction === Grid::SORT_ASC){
110 110
           $this->src->sortBy($fieldName);
111
-        }
112
-        else{
111
+        } else{
113 112
           $this->src->sortByDesc($fieldName);
114 113
         }
115 114
         
Please login to merge, or discard this patch.