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();