Passed
Pull Request — master (#123)
by Zing
05:26
created
src/Contracts/Sort.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,5 +11,5 @@
 block discarded – undo
11 11
     /**
12 12
      * @param string|\Illuminate\Database\Query\Expression $property
13 13
      */
14
-    public function apply(Builder $query, bool $descending,  $property): Builder;
14
+    public function apply(Builder $query, bool $descending, $property): Builder;
15 15
 }
Please login to merge, or discard this patch.
src/Sorts/FieldSort.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     /**
13 13
      * @param string|\Illuminate\Database\Query\Expression $property
14 14
      */
15
-    public function apply(Builder $query, bool $descending,  $property): Builder
15
+    public function apply(Builder $query, bool $descending, $property): Builder
16 16
     {
17 17
         return $query->orderBy($property, $descending ? 'desc' : 'asc');
18 18
     }
Please login to merge, or discard this patch.