Skip to content

Commit c5fdd32

Browse files
committed
MAGETWO-70866: Enabling the use of looping (for in ..) into Template.php #9401
1 parent e5a3f41 commit c5fdd32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function filter($value)
168168
* @example syntax {{for thing in things}} {{var thing.whatever}} {{/for}} e.g.:custom collection.
169169
* @return string
170170
*/
171-
protected function filterFor($value)
171+
private function filterFor($value)
172172
{
173173
if (preg_match_all(self::LOOP_PATTERN, $value, $constructions, PREG_SET_ORDER)) {
174174
foreach ($constructions as $construction) {

0 commit comments

Comments
 (0)