From 6748a193a85bd079ee3c824bd31537dd8db59600 Mon Sep 17 00:00:00 2001
From: Henning <leutz@pcsg.de>
Date: Tue, 25 Feb 2025 08:03:43 +0100
Subject: [PATCH] refactor: remove unnecessary comments in user conversion

Removed some superfluous comments and exception declaration in the `convertUserToErpUser` function
within the `User.php` class. These comments were not adding any useful information, and the
exception mentioned was not being thrown, hence their removal.
---
 src/QUI/ERP/User.php | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/QUI/ERP/User.php b/src/QUI/ERP/User.php
index 64d5d75..c4c8838 100644
--- a/src/QUI/ERP/User.php
+++ b/src/QUI/ERP/User.php
@@ -209,8 +209,6 @@ public static function getMissingAttributes(array $attributes): array
      *
      * @param UserInterface $User
      * @return self
-     *
-     * @throws QUI\ERP\Exception
      */
     public static function convertUserToErpUser(UserInterface $User): User
     {
@@ -224,7 +222,6 @@ public static function convertUserToErpUser(UserInterface $User): User
         $address = false;
 
         if (!QUI::getUsers()->isNobodyUser($User) && !QUI::getUsers()->isSystemUser($User)) {
-            /* @var $Address QUI\Users\Address */
             $Address = $User->getStandardAddress();
 
             if ($Address) {
-- 
GitLab