belongsTo(User::class); } public function commentable(): MorphTo { return $this->morphTo(); } public function files(): MorphMany { return $this->morphMany(File::class, 'fileable'); } }