From 402065002bc675c7cce5f61125aa487c21a6078c Mon Sep 17 00:00:00 2001 From: Henning <leutz@pcsg.de> Date: Fri, 14 Feb 2025 13:50:29 +0100 Subject: [PATCH] fix(phpstan): correct typo in exception namespace Changed 'QUI\\DataBase\\Exception' to 'QUI\\Database\\Exception' in src/QUI/ERP/Accounting/Invoice/Invoice.php to fix a typo in the namespace, which was causing a failure in setting processing status. --- src/QUI/ERP/Accounting/Invoice/Invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QUI/ERP/Accounting/Invoice/Invoice.php b/src/QUI/ERP/Accounting/Invoice/Invoice.php index a0c35ad..fdfe0ec 100644 --- a/src/QUI/ERP/Accounting/Invoice/Invoice.php +++ b/src/QUI/ERP/Accounting/Invoice/Invoice.php @@ -1855,7 +1855,7 @@ public function setProcessingStatus(int $statusId): void ); $this->setAttribute('processing_status', $Status->getId()); - } catch (QUI\DataBase\Exception $Exception) { + } catch (QUI\Database\Exception $Exception) { QUI\System\Log::addDebug($Exception->getMessage()); } -- GitLab