Skip to content

Commit 8784691

Browse files
committed
MC-22758: Update filtered methods to prevent template errors
1 parent 6f7f395 commit 8784691

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/internal/Magento/Framework/Filter/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class Template implements \Zend_Filter_Interface
7070
'vardirective',
7171
'delete',
7272
'getdatausingmethod',
73-
'gettemplatefilter',
73+
'gettemplatefilter',
7474
'__destruct',
7575
'__call',
7676
'__callstatic',

lib/internal/Magento/Framework/Filter/Test/Unit/TemplateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public function disallowedMethods(): array
260260
['varDirective'],
261261
['delete'],
262262
['getDataUsingMethod'],
263-
['getTemplateFilter']
263+
['getTemplateFilter']
264264
];
265265
}
266266

0 commit comments

Comments
 (0)