Skip to content
Code-Schnipsel Gruppen Projekte
Commit 6748a193 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

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.
Übergeordneter 462302bd
No related branches found
No related tags found
2 Merge Requests!172Update 'next-4.x' with latest changes from 'main',!171refactor: remove unnecessary comments in user conversion
Pipeline #15589 bestanden mit Phase
in 2 Minuten und 41 Sekunden
......@@ -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) {
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren