Skip to content
Code-Schnipsel Gruppen Projekte
  1. Feb 24, 2025
  2. Feb 23, 2025
    • Henning Leutz's avatar
      fix(phpstan): update variable types and fix bug conditions · 56156df7
      verfasst von Henning Leutz
      This commit brings a number of changes across multiple files. The changes include adjustment of
      variable types, fixing conditions, and the optimization of method calls.
      
      1. In src/QUI/ERP/Order/AbstractOrderProcessProvider.php, the function getDisplay has had its
      parameters realigned with AbstractOrderingStep, providing a clear type definition.
      
      2. src/QUI/ERP/Order/EventHandling.php has changed the onDetailEquipmentButtons function to expect
      a ProductTypeInterface, enabling a wider range of object types to be passed in.
      
      3. src/QUI/ERP/Order/Factory.php now only checks for an empty orderId, rather than also improperly
      comparing to zero.
      
      4. src/QUI/ERP/Order/FrontendUsers/Controls/UserOrders.php, a fallback has been added for when the
      method getImage does not exist on a Product object.
      
      5. src/QUI/ERP/Order/Mail.php has been updated to use the correct customer address method based on
      the user's type.
      
      6. Lastly, in src/QUI/ERP/Order/OrderView.php, the getShippingStatus method now correctly specifies
      null as a possible return type.
      
      Related: #172
      56156df7
  3. Apr 20, 2024
  4. Apr 02, 2024
  5. Jan 09, 2024
  6. Aug 15, 2023
  7. Mai 04, 2023
  8. Mär 27, 2023
  9. Feb 09, 2021
  10. Aug 12, 2020
  11. Mai 25, 2020
  12. Dez 19, 2019
  13. Okt 01, 2019
  14. Mär 27, 2019
  15. Dez 06, 2018
  16. Jun 14, 2018
  17. Mai 09, 2018
  18. Apr 26, 2018
  19. Apr 06, 2018
  20. Apr 05, 2018
  21. Apr 04, 2018
  22. Apr 03, 2018
  23. Mär 14, 2018
  24. Feb 27, 2018
  25. Feb 22, 2018
  26. Feb 15, 2018
  27. Feb 09, 2018
  28. Feb 07, 2018
  29. Feb 05, 2018
Lade