Completed
Pull Request — master (#24)
by
unknown
07:29 queued 05:05
created
src/SortableTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         $models = static::select($orderColumnName, $primaryKeyColumn)
62 62
             ->find($ids);
63 63
 
64
-        $models = $models->sortBy(function ($q) use ($ids, $primaryKeyColumn) {
64
+        $models = $models->sortBy(function($q) use ($ids, $primaryKeyColumn) {
65 65
 
66 66
             return array_search($q->$primaryKeyColumn, $ids);
67 67
 
Please login to merge, or discard this patch.