fix(phpstan): code improvements and resolve warnings
Änderungen vergleichen
Dateien
10- Henning Leutz erstellt
Reviewed code and made several improvements which provide better error handling, code quality, and resolved warnings. The changes include: - Syntax modifications for better readability, - Ensured variable type checks before using methods, - Resolved warning instances in phpstan, - Adapted code to comply with modern PHP nullable type indicator. Alongside, made version update in phive/phars.xml. Also, unnecessary comments or instances are removed for a cleaner code. Related: #16
@@ -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