Add
This commit is contained in:
@@ -29,4 +29,9 @@ class ProviderProfile extends Model
|
||||
{
|
||||
return $this->morphMany(Attachment::class, 'attachable');
|
||||
}
|
||||
|
||||
public function ratings(): MorphMany
|
||||
{
|
||||
return $this->morphMany(Rating::class, 'rateable');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user