Skip to content

Commit 347f749

Browse files
javiereguiluzxabbuh
authored andcommitted
minor symfony#17325 Fix typo (cafferata)
This PR was merged into the 6.2 branch. Discussion ---------- Fix typo Fixed small typo (`sufix` = `suffix`). Commits ------- ab52db0 Fix typo
1 parent 1c2a61a commit 347f749

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
@@ -313,7 +313,7 @@ Methods to Pad and Trim
313313
u('template.html.twig')->trimSuffix('.html'); // 'template.html.twig'
314314
u('template.html.twig')->trimSuffix('.twig'); // 'template.html'
315315
u('template.html.twig')->trimSuffix('.html.twig'); // 'template'
316-
// when passing an array of prefix/sufix, only the first one found is trimmed
316+
// when passing an array of prefix/suffix, only the first one found is trimmed
317317
u('file-image-0001.png')->trimPrefix(['file-', 'image-']); // 'image-0001.png'
318318
u('template.html.twig')->trimSuffix(['.twig', '.html']); // 'template.html'
319319

0 commit comments

Comments
 (0)