From ab8fc62b5b664088c391344d867c0b436a6c30b6 Mon Sep 17 00:00:00 2001
From: Henning <leutz@pcsg.de>
Date: Tue, 25 Feb 2025 08:55:01 +0100
Subject: [PATCH] chore(phpstan): update erroneous return type message in
 phpstan-baseline

This commit changes the incorrect return type message found in the phpstan-baseline.neon file.
Return type of method ShippingTimePeriod::getFrontendView() has been correctly aligned to match
that of TimePeriod::getFrontendView(). This ensures clear and accurate type error messages that
adhere to the standard format.
---
 phpstan-baseline.neon | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon
index 349a712..7ab43eb 100644
--- a/phpstan-baseline.neon
+++ b/phpstan-baseline.neon
@@ -58,5 +58,5 @@ parameters:
             message: "#^Call to method update\\(\\) on an unknown class QUI\\\\ERP\\\\SalesOrders\\\\SalesOrder\\.$#"
             path: src/QUI/ERP/Shipping/EventHandler.php
         -
-            message: "#^Return type \\(QUI\\\\ERP\\\\Shipping\\\\Products\\\\Fields\\\\ShippingTimeFrontendView\\) of method QUI\\\\ERP\\\\Shipping\\\\Products\\\\Fields\\\\ShippingTimePeriod::getFrontendView\\(\\) should be compatible with return type \\(QUI\\\\ERP\\\\Products\\\\Field\\\\Types\\\\UnitSelectFrontendView\\) of method QUI\\\\ERP\\\\Products\\\\Field\\\\Types\\\\TimePeriod::getFrontendView\\(\\)\\s+🪪\\s+method\\.childReturnType$#"
+            message: "#^Return type \\(QUI\\\\ERP\\\\Shipping\\\\Products\\\\Fields\\\\ShippingTimeFrontendView\\) of method QUI\\\\ERP\\\\Shipping\\\\Products\\\\Fields\\\\ShippingTimePeriod::getFrontendView\\(\\) should be compatible with return type \\(QUI\\\\ERP\\\\Products\\\\Field\\\\Types\\\\UnitSelectFrontendView\\) of method QUI\\\\ERP\\\\Products\\\\Field\\\\Types\\\\TimePeriod::getFrontendView\\(\\)\\s*$#"
             path: src/QUI/ERP/Shipping/Products/Fields/ShippingTimePeriod.php
\ No newline at end of file
-- 
GitLab