refactor, better class namespace intergration
This commit is contained in:
@@ -11,6 +11,6 @@ class Tax extends Model
|
||||
|
||||
public function price()
|
||||
{
|
||||
return $this->hasMany('App\Models\Shop\ArticlePrice', 'id', 'tax_id');
|
||||
return $this->hasMany(ArticlePrice::class, 'id', 'tax_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user