@@ -11,15 +11,14 @@ trait HasMorphToOne
1111 /**
1212 * Define a one-to-one via pivot relationship.
1313 *
14- * @param string $related
15- * @param string $name
16- * @param string $table
17- * @param string $foreignPivotKey
18- * @param string $relatedPivotKey
19- * @param string $parentKey
20- * @param string $relatedKey
21- * @param bool $inverse
22- *
14+ * @param string $related
15+ * @param string $name
16+ * @param string $table
17+ * @param string $foreignPivotKey
18+ * @param string $relatedPivotKey
19+ * @param string $parentKey
20+ * @param string $relatedKey
21+ * @param bool $inverse
2322 * @return MorphToOne
2423 */
2524 public function morphToOne ($ related , $ name , $ table = null , $ foreignPivotKey = null ,
@@ -52,17 +51,16 @@ public function morphToOne($related, $name, $table = null, $foreignPivotKey = nu
5251 /**
5352 * Instantiate a new MorphToOne relationship.
5453 *
55- * @param Builder $query
56- * @param Model $parent
57- * @param string $name
58- * @param string $table
59- * @param string $foreignPivotKey
60- * @param string $relatedPivotKey
61- * @param string $parentKey
62- * @param string $relatedKey
63- * @param string $relationName
64- * @param bool $inverse
65- *
54+ * @param Builder $query
55+ * @param Model $parent
56+ * @param string $name
57+ * @param string $table
58+ * @param string $foreignPivotKey
59+ * @param string $relatedPivotKey
60+ * @param string $parentKey
61+ * @param string $relatedKey
62+ * @param string $relationName
63+ * @param bool $inverse
6664 * @return MorphToOne
6765 */
6866 protected function newMorphToOne (Builder $ query , Model $ parent , $ name , $ table , $ foreignPivotKey ,
@@ -76,14 +74,13 @@ protected function newMorphToOne(Builder $query, Model $parent, $name, $table, $
7674 /**
7775 * Define a polymorphic, inverse many-to-many relationship but one.
7876 *
79- * @param string $related
80- * @param string $name
81- * @param string $table
82- * @param string $foreignPivotKey
83- * @param string $relatedPivotKey
84- * @param string $parentKey
85- * @param string $relatedKey
86- *
77+ * @param string $related
78+ * @param string $name
79+ * @param string $table
80+ * @param string $foreignPivotKey
81+ * @param string $relatedPivotKey
82+ * @param string $parentKey
83+ * @param string $relatedKey
8784 * @return MorphToOne
8885 */
8986 public function morphedByOne ($ related , $ name , $ table = null , $ foreignPivotKey = null ,
0 commit comments