Skip to content

Commit 805a764

Browse files
committed
feat: make funcprefix a callable option
2 parents 9beec13 + 80a77b2 commit 805a764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Context.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public static function create($options, $template)
140140
'safestring' => '\\LightnCandy\\SafeString',
141141
'safestringalias' => isset($options['safestring']) ? $options['safestring'] : 'LS',
142142
'rawblock' => false,
143-
'funcprefix' => isset($options['funcprefix']) && is_callable($options['funcprefix']) ? $options['funcprefix']( $options, $template ) : uniqid('lcr')
143+
'funcprefix' => isset($options['funcprefix']) && is_callable($options['funcprefix']) ? $options['funcprefix']( $options, $template ) : uniqid('lcr'),
144144
);
145145

146146
$context['ops'] = $context['flags']['echo'] ? array(

0 commit comments

Comments
 (0)