@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | } |
| 288 | 288 | |
| 289 | 289 | /** |
| 290 | - * @param string|array $sortableGroupField |
|
| 290 | + * @param string|null $sortableGroupField |
|
| 291 | 291 | * @param Model $entity |
| 292 | 292 | * |
| 293 | 293 | * @throws SortableException |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | } |
| 309 | 309 | |
| 310 | 310 | /** |
| 311 | - * @param Model|SortableTrait $entity1 |
|
| 311 | + * @param SortableTrait $entity1 |
|
| 312 | 312 | * @param Model $entity2 |
| 313 | 313 | * @param string $field |
| 314 | 314 | * |
@@ -70,7 +70,7 @@ |
||
| 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 | |
@@ -27,7 +27,7 @@ |
||
| 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 |