mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 05:44:45 +02:00
Merge pull request #643 from lancepioch/class-string
Use class string instead of magic string
This commit is contained in:
commit
75fd3d985c
@ -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'
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user