fix(phpstan): code improvements and resolve warnings
Änderungen vergleichen
Dateien
2- Henning Leutz erstellt
This commit modifies the `src/QUI/ERP/Coupons/CouponCode.php` by removing an unexplained variable annotation. In `src/QUI/ERP/Coupons/Products/PhysicalCouponProductType.php`, it introduces an import statement for `QUI\\Locale` and updated the `Locale` parameter type definition in `getTypeDescription` function. This change improves code readability and consistency.
@@ -3,6 +3,7 @@
@@ -51,7 +52,7 @@ public function __construct(int $pid, array $product = [])
@@ -61,10 +62,10 @@ public static function getTypeTitle(QUI\Locale $Locale = null): string