Skip to content
Code-Schnipsel Gruppen Projekte
  • Henning Leutz's avatar
    refactor(phpstan): improve order handling and cleanup code · fdc7309a
    verfasst von Henning Leutz
    Changes include:
    - Updated `AbstractOrderingStep.php` to handle null case in `getOrder` method and modified return
    type.
    - Refactored `Order.php` to remove unnecessary checks and improve readability.
    - Ensured safety against calling non-existent `save()` method in `Checkout.php`.
    - Simplified address getting logic in `CustomerData.php`.
    - Removed unnecessary check in isUserB2B function.
    
    Related: #172
    fdc7309a