8000 Remove redundant function call · SofHad/symfony@22ee7c5 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 22ee7c5

Browse files
committed
Remove redundant function call
1 parent 6f988ff commit 22ee7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AppBundle/Utils/Slugger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ class Slugger
2222
{
2323
public function slugify($string)
2424
{
25-
return trim(preg_replace('/[^a-z0-9]+/', '-', strtolower(trim(strip_tags($string)))), '-');
25+
return trim(preg_replace('/[^a-z0-9]+/', '-', strtolower(strip_tags($string))), '-');
2626
}
2727
}

0 commit comments

Comments
 (0)
0