fix: warning pedia que tenga el doc definido
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user