Skip to content

Commit 02cabf7

Browse files
committed
Use class string instead of magic string
1 parent bc0d0fd commit 02cabf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Models/Service.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ public function options()
9090
public function packs()
9191
{
9292
return $this->hasManyThrough(
93-
'Pterodactyl\Models\Pack',
94-
'Pterodactyl\Models\ServiceOption',
93+
Pack::class,
94+
ServiceOption::class,
9595
'service_id',
9696
'option_id'
9797
);

0 commit comments

Comments
 (0)