From 40cf4b1f899436aff3588ce18efd05caa1be29e7 Mon Sep 17 00:00:00 2001 From: Henning <leutz@pcsg.de> Date: Mon, 10 Feb 2025 18:41:57 +0100 Subject: [PATCH] fix(phpstan): remove unnecessary newline in utils.php This commit removes an unnecessary newline in the 'src/QUI/TemplateCologne/Utils.php' file to maintain code cleanliness and readability. It also includes a minor change to spacing for formatting consistency. --- src/QUI/TemplateCologne/Utils.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/QUI/TemplateCologne/Utils.php b/src/QUI/TemplateCologne/Utils.php index f29c743..14d62f5 100644 --- a/src/QUI/TemplateCologne/Utils.php +++ b/src/QUI/TemplateCologne/Utils.php @@ -12,7 +12,6 @@ use QUI\ERP\StockManagement\StockManager; use QUI\Projects\Project; use QUI\TemplateCologne\Controls\Payments; - use ReflectionClass; use function class_exists; @@ -622,7 +621,7 @@ public static function getShippingTimeFrontendView(int $productId): bool | QUI\E if (!$reflection->hasConstant('PRODUCT_FIELD_SHIPPING_TIME')) { return false; } - + try { $ShippingField = $Product->getField(Shipping::PRODUCT_FIELD_SHIPPING_TIME); } catch (\Exception $Exception) { -- GitLab