From 167ba815559968e6245ad1b4060c9bda7f30c8b4 Mon Sep 17 00:00:00 2001 From: preimpression Date: Thu, 16 Nov 2023 23:02:34 +0000 Subject: [PATCH] refactor: fix PHP styling --- app/Models/User/UserPet.php | 2 +- app/Services/Item/SpliceService.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Models/User/UserPet.php b/app/Models/User/UserPet.php index 22096919bf..7b6885b8e7 100644 --- a/app/Models/User/UserPet.php +++ b/app/Models/User/UserPet.php @@ -92,7 +92,7 @@ public function drops() { ->add($this->pet->dropData->frequency, $this->pet->dropData->interval) ->startOf($this->pet->dropData->interval), ]); - // if we delete old drop data, populate with new + // if we delete old drop data, populate with new } elseif (!PetDrop::where('user_pet_id', $this->id)->where('drop_id', $this->pet->dropData->id)->first()) { PetDrop::where('user_pet_id', $this->id)->delete(); PetDrop::create([ diff --git a/app/Services/Item/SpliceService.php b/app/Services/Item/SpliceService.php index 8045446fe6..5b81aa8658 100644 --- a/app/Services/Item/SpliceService.php +++ b/app/Services/Item/SpliceService.php @@ -37,6 +37,8 @@ public function getEditData() { /** * Processes the data attribute of the tag and returns it in the preferred format. * + * @param mixed $tag + * * @return mixed */ public function getTagData($tag) {