Completed
Pull Request — master (#118)
by
unknown
02:27
created
src/CollectionDataProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * Constructor.
20 20
      *
21
-     * @param Builder $src
21
+     * @param Collection $src
22 22
      */
23 23
     public function __construct(Collection $src)
24 24
     {
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.