Skip to content

Commit

Permalink
chore: media relation add generic docblock (#3760)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeRabix authored Jan 6, 2025
1 parent 0060425 commit ae4c244
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/InteractsWithMedia.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public static function bootInteractsWithMedia(): void
});
}

/**
* @return MorphMany<Media, $this>
*/
public function media(): MorphMany
{
return $this->morphMany($this->getMediaModel(), 'model');
Expand Down

0 comments on commit ae4c244

Please sign in to comment.