refactor, better class namespace intergration
This commit is contained in:
@@ -15,6 +15,6 @@ class Merchandise extends Model
|
||||
|
||||
public function Articles()
|
||||
{
|
||||
return $this->morphMany('App\Models\Shop\Article', 'product');
|
||||
return $this->morphMany(Article::class, 'product');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user