@@ -103,17 +103,17 @@ discard block |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | - * Instantiate a new HasManyThrough relationship. |
|
| 107 | - * |
|
| 108 | - * @param \Illuminate\Database\Eloquent\Builder $query |
|
| 109 | - * @param \Illuminate\Database\Eloquent\Model $farParent |
|
| 110 | - * @param \Illuminate\Database\Eloquent\Model $throughParent |
|
| 111 | - * @param string $firstKey |
|
| 112 | - * @param string $secondKey |
|
| 113 | - * @param string $localKey |
|
| 114 | - * @param string $secondLocalKey |
|
| 115 | - * @return \Illuminate\Database\Eloquent\Relations\HasManyThrough |
|
| 116 | - */ |
|
| 106 | + * Instantiate a new HasManyThrough relationship. |
|
| 107 | + * |
|
| 108 | + * @param \Illuminate\Database\Eloquent\Builder $query |
|
| 109 | + * @param \Illuminate\Database\Eloquent\Model $farParent |
|
| 110 | + * @param \Illuminate\Database\Eloquent\Model $throughParent |
|
| 111 | + * @param string $firstKey |
|
| 112 | + * @param string $secondKey |
|
| 113 | + * @param string $localKey |
|
| 114 | + * @param string $secondLocalKey |
|
| 115 | + * @return \Illuminate\Database\Eloquent\Relations\HasManyThrough |
|
| 116 | + */ |
|
| 117 | 117 | protected function newHasManyThrough(Builder $query, Model $farParent, Model $throughParent, $firstKey, $secondKey, $localKey, $secondLocalKey) |
| 118 | 118 | { |
| 119 | 119 | return new HasManyThrough($query, $farParent, $throughParent, $firstKey, $secondKey, $localKey, $secondLocalKey); |
@@ -169,8 +169,8 @@ discard block |
||
| 169 | 169 | * @return \Illuminate\Database\Eloquent\Relations\MorphToMany |
| 170 | 170 | */ |
| 171 | 171 | protected function newMorphToMany(Builder $query, Model $parent, $name, $table, $foreignPivotKey, |
| 172 | - $relatedPivotKey, $parentKey, $relatedKey, |
|
| 173 | - $relationName = null, $inverse = false) |
|
| 172 | + $relatedPivotKey, $parentKey, $relatedKey, |
|
| 173 | + $relationName = null, $inverse = false) |
|
| 174 | 174 | { |
| 175 | 175 | return new MorphToMany($query, $parent, $name, $table, $foreignPivotKey, $relatedPivotKey, $parentKey, $relatedKey, |
| 176 | 176 | $relationName, $inverse); |