Skip to content
Code-Schnipsel Gruppen Projekte

Update 'next-4.x' with latest changes from 'main'

Zusammengeführt QUIQQER Stabilization requested to merge main into next-4.x
  1. Feb 26, 2025
    • Henning Leutz's avatar
      Merge branch 'next-3.x' into 'main' · fcf8f609
      verfasst von Henning Leutz
      fix: allow null user type in setuser methods and improve type hinting
      
      See merge request !173
      fcf8f609
    • Henning Leutz's avatar
      fix: allow null user type in setuser methods and improve type hinting · eefbf9a0
      verfasst von Henning Leutz
      This commit includes changes made to both the Article.php and ArticleList.php classes in the
      QUI\ERP\Accounting directory. The setUser methods now accept a null type for the 'User' parameter,
      giving more flexibility when calculating user details.
      
      Type hinting was also improved in the ArticleList class. The variable type indicators were changed
      from 'int|float' to 'int | float', and from 'Factor|QUI\\ERP\\Products\\Utils\\PriceFactor' to
      'Factor | QUI\\ERP\\Products\\Utils\\PriceFactor', improving readability and clarity of code.
      
      Lastly, the 'template' and 'articleTemplate' parameters in the 'toHTMLWithCSS' method now support
      both 'bool' and 'string' types, adding flexibility to template usage.
      eefbf9a0
Lade