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

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
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!46Update 'next-3.x' with latest changes from 'main',!45fix(phpstan): allow null as parameter in various functions
Pipeline-Nr. 15585 mit Warnungen bestanden
Lade
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren