@@ -16,9 +16,10 @@ trait HybridRelations
1616{
1717 /**
1818 * Define a one-to-one relationship.
19- * @param string $related
20- * @param string $foreignKey
21- * @param string $localKey
19+ *
20+ * @param string $related
21+ * @param string $foreignKey
22+ * @param string $localKey
2223 * @return \Illuminate\Database\Eloquent\Relations\HasOne
2324 */
2425 public function hasOne ($ related , $ foreignKey = null , $ localKey = null )
@@ -39,11 +40,12 @@ public function hasOne($related, $foreignKey = null, $localKey = null)
3940
4041 /**
4142 * Define a polymorphic one-to-one relationship.
42- * @param string $related
43- * @param string $name
44- * @param string $type
45- * @param string $id
46- * @param string $localKey
43+ *
44+ * @param string $related
45+ * @param string $name
46+ * @param string $type
47+ * @param string $id
48+ * @param string $localKey
4749 * @return \Illuminate\Database\Eloquent\Relations\MorphOne
4850 */
4951 public function morphOne ($ related , $ name , $ type = null , $ id = null , $ localKey = null )
@@ -64,9 +66,10 @@ public function morphOne($related, $name, $type = null, $id = null, $localKey =
6466
6567 /**
6668 * Define a one-to-many relationship.
67- * @param string $related
68- * @param string $foreignKey
69- * @param string $localKey
69+ *
70+ * @param string $related
71+ * @param string $foreignKey
72+ * @param string $localKey
7073 * @return \Illuminate\Database\Eloquent\Relations\HasMany
7174 */
7275 public function hasMany ($ related , $ foreignKey = null , $ localKey = null )
@@ -87,11 +90,12 @@ public function hasMany($related, $foreignKey = null, $localKey = null)
8790
8891 /**
8992 * Define a polymorphic one-to-many relationship.
90- * @param string $related
91- * @param string $name
92- * @param string $type
93- * @param string $id
94- * @param string $localKey
93+ *
94+ * @param string $related
95+ * @param string $name
96+ * @param string $type
97+ * @param string $id
98+ * @param string $localKey
9599 * @return \Illuminate\Database\Eloquent\Relations\MorphMany
96100 */
97101 public function morphMany ($ related , $ name , $ type = null , $ id = null , $ localKey = null )
@@ -117,10 +121,11 @@ public function morphMany($related, $name, $type = null, $id = null, $localKey =
117121
118122 /**
119123 * Define an inverse one-to-one or many relationship.
120- * @param string $related
121- * @param string $foreignKey
122- * @param string $otherKey
123- * @param string $relation
124+ *
125+ * @param string $related
126+ * @param string $foreignKey
127+ * @param string $otherKey
128+ * @param string $relation
124129 * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
125130 */
126131 public function belongsTo ($ related , $ foreignKey = null , $ otherKey = null , $ relation = null )
@@ -160,10 +165,11 @@ public function belongsTo($related, $foreignKey = null, $otherKey = null, $relat
160165
161166 /**
162167 * Define a polymorphic, inverse one-to-one or many relationship.
163- * @param string $name
164- * @param string $type
165- * @param string $id
166- * @param string $ownerKey
168+ *
169+ * @param string $name
170+ * @param string $type
171+ * @param string $id
172+ * @param string $ownerKey
167173 * @return \Illuminate\Database\Eloquent\Relations\MorphTo
168174 */
169175 public function morphTo ($ name = null , $ type = null , $ id = null , $ ownerKey = null )
@@ -204,13 +210,14 @@ public function morphTo($name = null, $type = null, $id = null, $ownerKey = null
204210
205211 /**
206212 * Define a many-to-many relationship.
207- * @param string $related
208- * @param string $collection
209- * @param string $foreignKey
210- * @param string $otherKey
211- * @param string $parentKey
212- * @param string $relatedKey
213- * @param string $relation
213+ *
214+ * @param string $related
215+ * @param string $collection
216+ * @param string $foreignKey
217+ * @param string $otherKey
218+ * @param string $parentKey
219+ * @param string $relatedKey
220+ * @param string $relation
214221 * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
215222 */
216223 public function belongsToMany (
@@ -277,6 +284,7 @@ public function belongsToMany(
277284
278285 /**
279286 * Get the relationship name of the belongs to many.
287+ *
280288 * @return string
281289 */
282290 protected function guessBelongsToManyRelation ()
0 commit comments