Skip to content

Commit

Permalink
refactor: Deprecate $overrideConfig parameter of the template mail co…
Browse files Browse the repository at this point in the history
…mponent
  • Loading branch information
aragon999 committed Aug 7, 2023
1 parent 9712cf9 commit 99caab0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engine/Shopware/Components/TemplateMail.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 99caab0

Please sign in to comment.