fix: warning pedia que tenga el doc definido

This commit is contained in:
2025-03-26 17:48:32 -03:00
parent 173f87cf86
commit 9698bd1686
2 changed files with 7 additions and 2 deletions

View File

@@ -9,7 +9,9 @@ class Song extends Model
{
//
protected $fillable = ["title", 'artist', 'cover', 'user_id'];
/**
* @return BelongsTo<User,Song>
*/
public function user():BelongsTo
{
return $this->belongsTo(User::class);