@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * @param null $foreignKey |
53 | 53 | * @param null $localKey |
54 | 54 | * |
55 | - * @return \Illuminate\Database\Eloquent\Relations\HasMany |
|
55 | + * @return AbstractRelation |
|
56 | 56 | */ |
57 | 57 | public static function has_many($relationName = null, string $related, $foreignKey = null, $localKey = null) |
58 | 58 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * @param null $foreignKey |
71 | 71 | * @param null $ownerKey |
72 | 72 | * |
73 | - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
|
73 | + * @return AbstractRelation |
|
74 | 74 | */ |
75 | 75 | public static function belongs_to($relationName = null, string $related, $foreignKey = null, $ownerKey = null) |
76 | 76 | { |
@@ -100,9 +100,8 @@ discard block |
||
100 | 100 | * @param string $relatedPivotKey |
101 | 101 | * @param string $parentKey |
102 | 102 | * @param string $relatedKey |
103 | - * @param bool $inverse |
|
104 | 103 | * |
105 | - * @return \Illuminate\Database\Eloquent\Relations\MorphToMany |
|
104 | + * @return AbstractRelation |
|
106 | 105 | */ |
107 | 106 | public static function morph_to_many($relationName, $related, $name, $table = null, $foreignPivotKey = null, |
108 | 107 | $relatedPivotKey = null, $parentKey = null, $relatedKey = null) |
@@ -123,7 +122,7 @@ discard block |
||
123 | 122 | * @param string $id |
124 | 123 | * @param string $localKey |
125 | 124 | * |
126 | - * @return \Illuminate\Database\Eloquent\Relations\MorphMany |
|
125 | + * @return AbstractRelation |
|
127 | 126 | */ |
128 | 127 | public static function morph_many($relationName, $related, $name, $type = null, $id = null, $localKey = null) |
129 | 128 | { |