Skip to content

Commit d259e53

Browse files
sebprtgplanchat
andauthored
Renamed expression with a better name
Co-authored-by: Grégory PLANCHAT <gplanchat@users.noreply.github.com>
1 parent 9f169a1 commit d259e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StringExpressionLanguageProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function getFunctions(): array
2121
ExpressionFunction::fromPhp('number_format', 'formatNumber'),
2222
ExpressionFunction::fromPhp('strpos', 'indexOf'),
2323
ExpressionFunction::fromPhp('str_replace', 'replace'),
24-
ExpressionFunction::fromPhp('strip_tags', 'clean_up_html'),
24+
ExpressionFunction::fromPhp('strip_tags', 'stripHtml'),
2525
ExpressionFunction::fromPhp('json_decode', 'decode'),
2626
new FileName('fileName'),
2727
new DateTime('dateTime'),

0 commit comments

Comments
 (0)