Completed
Pull Request — master (#50)
by
unknown
05:36
created
src/Rutorika/Sortable/MorphToSortedManyTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      * @return \Illuminate\Database\Eloquent\Relations\MorphToMany
71 71
      */
72 72
     public function morphedBySortedMany($related, $name, $orderColumn = 'position', $table = null, $foreignPivotKey = null,
73
-                                  $relatedPivotKey = null, $parentKey = null, $relatedKey = null)
73
+                                    $relatedPivotKey = null, $parentKey = null, $relatedKey = null)
74 74
     {
75 75
         $foreignPivotKey = $foreignPivotKey ?: $this->getForeignKey();
76 76
 
Please login to merge, or discard this patch.
src/Rutorika/Sortable/BelongsToSortedManyTrait.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * @return BelongsToSortedMany
28 28
      */
29 29
     public function belongsToSortedMany($related, $orderColumn = 'position', $table = null, $foreignPivotKey = null, $relatedPivotKey = null,
30
-                                  $parentKey = null, $relatedKey = null, $relation = null)
30
+                                    $parentKey = null, $relatedKey = null, $relation = null)
31 31
     {
32 32
         // If no relationship name was passed, we will pull backtraces to get the
33 33
         // name of the calling function. We will use that function name as the
Please login to merge, or discard this patch.
src/Rutorika/Sortable/ToSortedManyTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
      */
146 146
     public function sync($ids, $detaching = true)
147 147
     {
148
-        if($detaching) {
148
+        if ($detaching) {
149 149
             $this->detach();
150 150
         }
151 151
 
Please login to merge, or discard this patch.