Skip to content

Commit 3b91a9c

Browse files
committed
improvements
1 parent 7b3d43f commit 3b91a9c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/Template.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private static function renderChildren($node, &$data, &$functions)
9696
return $result;
9797
}
9898

99-
private static function renderIfNode(&$node, &$data, &$functions)
99+
private static function renderIfNode($node, &$data, &$functions)
100100
{
101101
$parts = explode('|', $node->expression);
102102
$path = array_shift($parts);
@@ -113,7 +113,7 @@ private static function renderIfNode(&$node, &$data, &$functions)
113113
return $result;
114114
}
115115

116-
private static function renderForNode(&$node, &$data, &$functions)
116+
private static function renderForNode($node, &$data, &$functions)
117117
{
118118
$parts = explode('|', $node->expression);
119119
$path = array_shift($parts);
@@ -139,7 +139,7 @@ private static function renderForNode(&$node, &$data, &$functions)
139139
return $result;
140140
}
141141

142-
private static function renderVarNode(&$node, &$data, &$functions)
142+
private static function renderVarNode($node, &$data, &$functions)
143143
{
144144
$parts = explode('|', $node->expression);
145145
$path = array_shift($parts);
@@ -152,7 +152,7 @@ private static function renderVarNode(&$node, &$data, &$functions)
152152
return $value;
153153
}
154154

155-
private static function resolvePath(&$path, &$data)
155+
private static function resolvePath($path, &$data)
156156
{
157157
$current = &$data;
158158
foreach (explode('.', $path) as $p) {
@@ -164,7 +164,7 @@ private static function resolvePath(&$path, &$data)
164164
return $current;
165165
}
166166

167-
private static function applyFunctions(&$value, &$parts, &$functions)
167+
private static function applyFunctions($value, &$parts, &$functions)
168168
{
169169
foreach ($parts as $part) {
170170
$function = explode('(', rtrim($part, ')'));

0 commit comments

Comments
 (0)