Use class string instead of magic string

This commit is contained in:
Lance Pioch 2017-09-24 22:59:34 -04:00
parent bc0d0fd6fa
commit 02cabf73a0

View File

@ -90,8 +90,8 @@ class Service extends Model implements CleansAttributes, ValidableContract
public function packs()
{
return $this->hasManyThrough(
'Pterodactyl\Models\Pack',
'Pterodactyl\Models\ServiceOption',
Pack::class,
ServiceOption::class,
'service_id',
'option_id'
);