Skip to content

Commit ab52db0

Browse files
committed
Fix typo
1 parent 422bb7f commit ab52db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/string.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ Methods to Pad and Trim
301301
u('template.html.twig')->trimSuffix('.html'); // 'template.html.twig'
302302
u('template.html.twig')->trimSuffix('.twig'); // 'template.html'
303303
u('template.html.twig')->trimSuffix('.html.twig'); // 'template'
304-
// when passing an array of prefix/sufix, only the first one found is trimmed
304+
// when passing an array of prefix/suffix, only the first one found is trimmed
305305
u('file-image-0001.png')->trimPrefix(['file-', 'image-']); // 'image-0001.png'
306306
u('template.html.twig')->trimSuffix(['.twig', '.html']); // 'template.html'
307307

0 commit comments

Comments
 (0)