diff --git a/src/Eloquent/Traits/ConcatenatesRelationships.php b/src/Eloquent/Traits/ConcatenatesRelationships.php index d9be3b1..96f5461 100644 --- a/src/Eloquent/Traits/ConcatenatesRelationships.php +++ b/src/Eloquent/Traits/ConcatenatesRelationships.php @@ -16,7 +16,7 @@ trait ConcatenatesRelationships /** * Define a has-many-deep relationship from existing relationships. * - * @param callable|\Illuminate\Database\Eloquent\Relations\Relation<\Illuminate\Database\Eloquent\Model> ...$relations + * @param callable|\Illuminate\Database\Eloquent\Relations\Relation<*> ...$relations * @return \Staudenmeir\EloquentHasManyDeep\HasManyDeep<\Illuminate\Database\Eloquent\Model, $this> */ public function hasManyDeepFromRelations(...$relations) @@ -49,7 +49,7 @@ public function hasManyDeepFromRelations(...$relations) /** * Define a has-one-deep relationship from existing relationships. * - * @param callable|\Illuminate\Database\Eloquent\Relations\Relation<\Illuminate\Database\Eloquent\Model> ...$relations + * @param callable|\Illuminate\Database\Eloquent\Relations\Relation<*> ...$relations * @return \Staudenmeir\EloquentHasManyDeep\HasOneDeep<\Illuminate\Database\Eloquent\Model, $this> */ public function hasOneDeepFromRelations(...$relations) diff --git a/src/Eloquent/Traits/ReversesRelationships.php b/src/Eloquent/Traits/ReversesRelationships.php index 93077a9..9780f30 100644 --- a/src/Eloquent/Traits/ReversesRelationships.php +++ b/src/Eloquent/Traits/ReversesRelationships.php @@ -16,7 +16,7 @@ trait ReversesRelationships * @template TDeclaringModel of \Illuminate\Database\Eloquent\Model * * @param \Staudenmeir\EloquentHasManyDeep\HasManyDeep $relation - * @return \Staudenmeir\EloquentHasManyDeep\HasManyDeep + * @return \Staudenmeir\EloquentHasManyDeep\HasManyDeep */ public function hasManyDeepFromReverse(HasManyDeep $relation): HasManyDeep { @@ -32,7 +32,7 @@ public function hasManyDeepFromReverse(HasManyDeep $relation): HasManyDeep * @template TDeclaringModel of \Illuminate\Database\Eloquent\Model * * @param \Staudenmeir\EloquentHasManyDeep\HasManyDeep $relation - * @return \Staudenmeir\EloquentHasManyDeep\HasOneDeep + * @return \Staudenmeir\EloquentHasManyDeep\HasOneDeep */ public function hasOneDeepFromReverse(HasManyDeep $relation): HasOneDeep {