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

fix(phpstan): adjust method argument typings for better code readability

Updated method argument typings from `Type $var = null` to `null | Type $var = null` across
multiple files to improve readability and understanding of the code. This change aligns with modern
coding standards and the principle of explicit over implicit.
Affected files:
- `AbstractShippingEntry.php`
- `AbstractShippingType.php`
- `ShippingInterface.php`
- `ShippingTypeInterface.php`
- `Factory.php`
- `ShippingRule.php`
- `Shipping.php`

PHP9 + PHP8.3 null deprecated
Übergeordneter 8490a644
Branches next-3.x
No related tags found
2 Merge Requests!46Update 'next-3.x' with latest changes from 'main',!45fix(phpstan): allow null as parameter in various functions
Pipeline #15586 fehlgeschlagen mit Phase
in 2 Minuten und 29 Sekunden
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren