fix(phpstan): allow null as parameter in various functions
This commit does the following changes: 1. Updated the PHPStan version from 1.11.8 to 1.12.13 in phars.xml 2. In various classes, added the possibility to pass `null` as a parameter to a number of functions. Affected classes include but are not limited to: `ShippingInterface`, `Handler`, `Status`, `StatusUnknown`, and `ShippingEntry`. 3. Updated return types in the `ShippingEntry` class to include `null` option. 4. Simplified return types in various places from `datatype|datatype|null` to possibly nullable `datatype`. PHP9 + PHP8.4 null deprecated
Übergeordneter
6d24f6f4
Branches next-3.x
No related tags found
- .phive/phars.xml 1 Ergänzung, 1 Löschung.phive/phars.xml
- src/QUI/ERP/Shipping/Api/ShippingInterface.php 2 Ergänzungen, 2 Löschungensrc/QUI/ERP/Shipping/Api/ShippingInterface.php
- src/QUI/ERP/Shipping/ShippingStatus/Handler.php 4 Ergänzungen, 4 Löschungensrc/QUI/ERP/Shipping/ShippingStatus/Handler.php
- src/QUI/ERP/Shipping/ShippingStatus/Status.php 3 Ergänzungen, 3 Löschungensrc/QUI/ERP/Shipping/ShippingStatus/Status.php
- src/QUI/ERP/Shipping/ShippingStatus/StatusUnknown.php 1 Ergänzung, 1 Löschungsrc/QUI/ERP/Shipping/ShippingStatus/StatusUnknown.php
- src/QUI/ERP/Shipping/Types/ShippingEntry.php 15 Ergänzungen, 13 Löschungensrc/QUI/ERP/Shipping/Types/ShippingEntry.php
Bitte registrieren oder Anmelden zum Kommentieren