refactor, better class namespace intergration
This commit is contained in:
@@ -11,12 +11,12 @@ class Customer extends Model
|
||||
|
||||
public function Invoices()
|
||||
{
|
||||
return $this->hasMany('App\Models\Shop\Invoice');
|
||||
return $this->hasMany(Invoice::class);
|
||||
}
|
||||
|
||||
public function Orders()
|
||||
{
|
||||
return $this->hasMany('App\Models\Shop\Order');
|
||||
return $this->hasMany(Order::class);
|
||||
}
|
||||
|
||||
public function User()
|
||||
|
||||
Reference in New Issue
Block a user