diff --git a/src/QUI/ERP/Accounting/CalculationValue.php b/src/QUI/ERP/Accounting/CalculationValue.php index 1d7c769bd8b7d3e45b79e676bcce84e2b18df723..acc33daef12416b03c2e523eb24a55cd5a718942 100644 --- a/src/QUI/ERP/Accounting/CalculationValue.php +++ b/src/QUI/ERP/Accounting/CalculationValue.php @@ -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; diff --git a/src/QUI/ERP/User.php b/src/QUI/ERP/User.php index 64d5d75484a88985d71f9dd9577fd28dc11e14c8..c4c88383ca833b2e24079daf62d994c2054d1d7c 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) {