From 417082133b8c8c86256311fc5bc213f43fe68c38 Mon Sep 17 00:00:00 2001 From: Daniel Mohns Date: Mon, 9 Dec 2024 13:56:50 +0100 Subject: [PATCH] Fix `lint` --- src/backend/app/Misc/LoanDataContainer.php | 2 +- src/backend/app/Services/RolesService.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/app/Misc/LoanDataContainer.php b/src/backend/app/Misc/LoanDataContainer.php index de77b1bb7..056bffe66 100644 --- a/src/backend/app/Misc/LoanDataContainer.php +++ b/src/backend/app/Misc/LoanDataContainer.php @@ -88,7 +88,7 @@ public function loanCost() { * * @return Builder[]|Collection * - * @psalm-return Collection|array + * @psalm-return Collection|array */ private function getCustomerDueRates($owner): Collection { $loans = AssetPerson::query()->where('person_id', $owner->id)->pluck('id'); diff --git a/src/backend/app/Services/RolesService.php b/src/backend/app/Services/RolesService.php index 4a8d8aa1a..d5ca1f4a5 100644 --- a/src/backend/app/Services/RolesService.php +++ b/src/backend/app/Services/RolesService.php @@ -31,7 +31,7 @@ public function findOrCreateRoleDefinition(string $roleName) { /** * @return Builder[]|Collection * - * @psalm-return Collection|array + * @psalm-return Collection|array */ public function findRoleByDefinition(RoleDefinition $definition) { return $this->role->with()->get();