Skip to content

Commit cda18d3

Browse files
author
OlgaVasyltsun
committed
MC-33922: Improve email templates
1 parent 3e149f6 commit cda18d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/internal/Magento/Framework/Filter/VariableResolver/LegacyResolver.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ private function handleObjectMethod(Template $filter, array $templateVariables,
175175
*/
176176
private function isMethodCallable($object, string $method): bool
177177
{
178-
if (
179-
method_exists($object, $method)
178+
if (method_exists($object, $method)
180179
&& substr($method, 0, 3) !== 'set'
181180
&& $method !== '___callParent'
182181
) {

0 commit comments

Comments
 (0)