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

Merge branch 'next-3.x' into 'main'

refactor: remove unnecessary comments in user conversion

See merge request !171
Übergeordnete 2810542c 6748a193
No related branches found
Tags 3.10.10
2 Merge Requests!172Update 'next-4.x' with latest changes from 'main',!171refactor: remove unnecessary comments in user conversion
Pipeline #15593 mit Warnungen bestanden mit Phase
in 49 Sekunden
......@@ -71,10 +71,10 @@ public function value(): float | int
/**
* Return the CalculationValue with the wanted precision
*
* @param bool $precision
* @param bool|int $precision
* @return CalculationValue
*/
public function precision(bool $precision = false): CalculationValue
public function precision(bool | int $precision = false): CalculationValue
{
if ($precision === false) {
return $this;
......
......@@ -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