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