From 99caab01c0443e84d617443f5a729c5f158d1193 Mon Sep 17 00:00:00 2001 From: max Date: Mon, 7 Aug 2023 11:57:22 +0200 Subject: [PATCH] refactor: Deprecate $overrideConfig parameter of the template mail component --- engine/Shopware/Components/TemplateMail.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/Shopware/Components/TemplateMail.php b/engine/Shopware/Components/TemplateMail.php index 138dcd920de..8cb0e9fcea8 100644 --- a/engine/Shopware/Components/TemplateMail.php +++ b/engine/Shopware/Components/TemplateMail.php @@ -161,6 +161,8 @@ public function getStringCompiler() } /** + * @deprecated The $overrideConfig parameter will be removed with Shopware 5.8, directly apply the changes to the returned mail component + * * @param string|Mail $mailModel * @param array $context * @param Shop $shop @@ -256,6 +258,8 @@ public function createMail($mailModel, $context = [], $shop = null, $overrideCon /** * Loads values from MailModel into Mail * + * @deprecated The $overrideConfig parameter will be removed with Shopware 5.8, directly apply the changes to the returned mail component + * * @param array $overrideConfig * * @throws Enlight_Exception