@@ -41,11 +41,11 @@ discard block |
||
41 | 41 | |
42 | 42 | /** |
43 | 43 | * @param string $related |
44 | - * @param $relationName |
|
44 | + * @param string $relationName |
|
45 | 45 | * @param null $foreignKey |
46 | 46 | * @param null $localKey |
47 | 47 | * |
48 | - * @return \Illuminate\Database\Eloquent\Relations\HasMany |
|
48 | + * @return AbstractRelation |
|
49 | 49 | */ |
50 | 50 | public static function has_many($relationName = null, string $related, $foreignKey = null, $localKey = null) |
51 | 51 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * @param null $foreignKey |
64 | 64 | * @param null $ownerKey |
65 | 65 | * |
66 | - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
66 | + * @return AbstractRelation |
|
67 | 67 | */ |
68 | 68 | public static function belongs_to($relationName = null, string $related, $foreignKey = null, $ownerKey = null) |
69 | 69 | { |
@@ -93,9 +93,8 @@ discard block |
||
93 | 93 | * @param string $relatedPivotKey |
94 | 94 | * @param string $parentKey |
95 | 95 | * @param string $relatedKey |
96 | - * @param bool $inverse |
|
97 | 96 | * |
98 | - * @return \Illuminate\Database\Eloquent\Relations\MorphToMany |
|
97 | + * @return AbstractRelation |
|
99 | 98 | */ |
100 | 99 | public function morph_to_many($relationName, $related, $name, $table = null, $foreignPivotKey = null, |
101 | 100 | $relatedPivotKey = null, $parentKey = null, $relatedKey = null) |
@@ -116,7 +115,7 @@ discard block |
||
116 | 115 | * @param string $id |
117 | 116 | * @param string $localKey |
118 | 117 | * |
119 | - * @return \Illuminate\Database\Eloquent\Relations\MorphMany |
|
118 | + * @return AbstractRelation |
|
120 | 119 | */ |
121 | 120 | public static function morph_many($relationName, $related, $name, $type = null, $id = null, $localKey = null) |
122 | 121 | { |