Skip to content

Commit 8193203

Browse files
authored
Fix
1 parent fd23911 commit 8193203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwigPad.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function getFunctions()
1919
{
2020
return StringPad::left($str, $len, $ch);
2121
}),
22-
new \Twig_Function('rightpad', function ($str, int $len, string $ch = '0') : string
22+
new TwigFunction('rightpad', function ($str, int $len, string $ch = '0') : string
2323
{
2424
return StringPad::right($str, $len, $ch);
2525
})

0 commit comments

Comments
 (0)