@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | * @param null $foreignKey |
118 | 118 | * @param null $ownerKey |
119 | 119 | * |
120 | - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
120 | + * @return AbstractRelation |
|
121 | 121 | */ |
122 | 122 | public static function belongs_to($relationName = null, string $related, $foreignKey = null, $ownerKey = null) |
123 | 123 | { |
@@ -147,9 +147,8 @@ discard block |
||
147 | 147 | * @param string $relatedPivotKey |
148 | 148 | * @param string $parentKey |
149 | 149 | * @param string $relatedKey |
150 | - * @param bool $inverse |
|
151 | 150 | * |
152 | - * @return \Illuminate\Database\Eloquent\Relations\MorphToMany |
|
151 | + * @return AbstractRelation |
|
153 | 152 | */ |
154 | 153 | public function morph_to_many($relationName, $related, $name, $table = null, $foreignPivotKey = null, |
155 | 154 | $relatedPivotKey = null, $parentKey = null, $relatedKey = null) |
@@ -170,7 +169,7 @@ discard block |
||
170 | 169 | * @param string $id |
171 | 170 | * @param string $localKey |
172 | 171 | * |
173 | - * @return \Illuminate\Database\Eloquent\Relations\MorphMany |
|
172 | + * @return AbstractRelation |
|
174 | 173 | */ |
175 | 174 | public static function morph_many($relationName, $related, $name, $type = null, $id = null, $localKey = null) |
176 | 175 | { |