Merge pull request #643 from lancepioch/class-string

Use class string instead of magic string
This commit is contained in:
Dane Everitt 2017-09-25 16:03:36 -10:00 committed by GitHub
commit 75fd3d985c

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'
);