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

fix(phpstan): handle non-existing classes in abstractOrder.php

This commit fixes the errors arising from non-existing classes in the AbstractOrder.php

Changes include:
- Added a comment on the shipping validation
- Corrected type declaration in the reversal function signature to include the possibility of the
parameter being null.
- Checked for the existence of ShippingStatus and ShippingEntry classes before attempting to get
Shipping status and Shipping Ids, respectively. This prevents errors if these classes do not exist.

Related: #172
Übergeordneter 088220b6
No related branches found
No related tags found
2 Merge Requests!146fix: update `getCustomerFiles` method signature in `AbstractOrder`,!145Update 'next-3.x' with latest changes from 'main'
Pipeline #15532 fehlgeschlagen mit Phase
in 2 Minuten und 23 Sekunden
Status
Pipeline
Erstellt von
Phasen
Aktionen
Fehlgeschlagen

00:02:23

avatar

Keine Artefakte gefunden