Skip to content

Commit 609351c

Browse files
committed
wip
1 parent 220f4ac commit 609351c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Illuminate/Support/Str.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,6 @@ public static function substrReplace($string, $replace, $offset = 0, $length = n
918918
public static function swap(array $map, $subject)
919919
{
920920
return strtr($subject, $map);
921-
return str_replace(array_keys($map), array_values($map), $subject);
922921
}
923922

924923
/**

0 commit comments

Comments
 (0)