@@ -16,10 +16,9 @@ trait HybridRelations
1616{
1717 /**
1818 * Define a one-to-one relationship.
19- *
20- * @param string $related
21- * @param string $foreignKey
22- * @param string $localKey
19+ * @param string $related
20+ * @param string $foreignKey
21+ * @param string $localKey
2322 * @return \Illuminate\Database\Eloquent\Relations\HasOne
2423 */
2524 public function hasOne ($ related , $ foreignKey = null , $ localKey = null )
@@ -40,12 +39,11 @@ public function hasOne($related, $foreignKey = null, $localKey = null)
4039
4140 /**
4241 * Define a polymorphic one-to-one relationship.
43- *
44- * @param string $related
45- * @param string $name
46- * @param string $type
47- * @param string $id
48- * @param string $localKey
42+ * @param string $related
43+ * @param string $name
44+ * @param string $type
45+ * @param string $id
46+ * @param string $localKey
4947 * @return \Illuminate\Database\Eloquent\Relations\MorphOne
5048 */
5149 public function morphOne ($ related , $ name , $ type = null , $ id = null , $ localKey = null )
@@ -66,10 +64,9 @@ public function morphOne($related, $name, $type = null, $id = null, $localKey =
6664
6765 /**
6866 * Define a one-to-many relationship.
69- *
70- * @param string $related
71- * @param string $foreignKey
72- * @param string $localKey
67+ * @param string $related
68+ * @param string $foreignKey
69+ * @param string $localKey
7370 * @return \Illuminate\Database\Eloquent\Relations\HasMany
7471 */
7572 public function hasMany ($ related , $ foreignKey = null , $ localKey = null )
@@ -90,12 +87,11 @@ public function hasMany($related, $foreignKey = null, $localKey = null)
9087
9188 /**
9289 * Define a polymorphic one-to-many relationship.
93- *
94- * @param string $related
95- * @param string $name
96- * @param string $type
97- * @param string $id
98- * @param string $localKey
90+ * @param string $related
91+ * @param string $name
92+ * @param string $type
93+ * @param string $id
94+ * @param string $localKey
9995 * @return \Illuminate\Database\Eloquent\Relations\MorphMany
10096 */
10197 public function morphMany ($ related , $ name , $ type = null , $ id = null , $ localKey = null )
@@ -121,11 +117,10 @@ public function morphMany($related, $name, $type = null, $id = null, $localKey =
121117
122118 /**
123119 * Define an inverse one-to-one or many relationship.
124- *
125- * @param string $related
126- * @param string $foreignKey
127- * @param string $otherKey
128- * @param string $relation
120+ * @param string $related
121+ * @param string $foreignKey
122+ * @param string $otherKey
123+ * @param string $relation
129124 * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
130125 */
131126 public function belongsTo ($ related , $ foreignKey = null , $ otherKey = null , $ relation = null )
@@ -165,11 +160,10 @@ public function belongsTo($related, $foreignKey = null, $otherKey = null, $relat
165160
166161 /**
167162 * Define a polymorphic, inverse one-to-one or many relationship.
168- *
169- * @param string $name
170- * @param string $type
171- * @param string $id
172- * @param string $ownerKey
163+ * @param string $name
164+ * @param string $type
165+ * @param string $id
166+ * @param string $ownerKey
173167 * @return \Illuminate\Database\Eloquent\Relations\MorphTo
174168 */
175169 public function morphTo ($ name = null , $ type = null , $ id = null , $ ownerKey = null )
@@ -208,14 +202,13 @@ public function morphTo($name = null, $type = null, $id = null, $ownerKey = null
208202
209203 /**
210204 * Define a many-to-many relationship.
211- *
212- * @param string $related
213- * @param string $collection
214- * @param string $foreignKey
215- * @param string $otherKey
216- * @param string $parentKey
217- * @param string $relatedKey
218- * @param string $relation
205+ * @param string $related
206+ * @param string $collection
207+ * @param string $foreignKey
208+ * @param string $otherKey
209+ * @param string $parentKey
210+ * @param string $relatedKey
211+ * @param string $relation
219212 * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
220213 */
221214 public function belongsToMany (
@@ -282,7 +275,6 @@ public function belongsToMany(
282275
283276 /**
284277 * Get the relationship name of the belongs to many.
285- *
286278 * @return string
287279 */
288280 protected function guessBelongsToManyRelation ()
0 commit comments