Completed
Push — master ( cf4b3c...12df81 )
by Dmitry
02:17
created
src/Rutorika/Sortable/MorphToSortedManyTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         // For the inverse of the polymorphic many-to-many relations, we will change
59 59
         // the way we determine the foreign and other keys, as it is the opposite
60 60
         // of the morph-to-many method since we're figuring out these inverses.
61
-        $otherKey = $otherKey ?: $name.'_id';
61
+        $otherKey = $otherKey ?: $name . '_id';
62 62
 
63 63
         return $this->morphToSortedMany($related, $name, $orderColumn, $table, $foreignKey, $otherKey, true);
64 64
     }
Please login to merge, or discard this patch.