From 02cabf73a0694b120804fc9f5d197dc95a32d884 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Sun, 24 Sep 2017 22:59:34 -0400 Subject: [PATCH] Use class string instead of magic string --- app/Models/Service.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/Service.php b/app/Models/Service.php index 391f4ae1c..357828f41 100644 --- a/app/Models/Service.php +++ b/app/Models/Service.php @@ -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' );