Skip to content

Commit ce25339

Browse files
committed
Weird string manipulation
1 parent b0f6109 commit ce25339

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Geocoder/Model/AddressFactory.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ private function formatString($str)
9797
$str = $this->lowerize($str);
9898
$str = ucwords($str);
9999
}
100-
101-
$str = str_replace('-', '', $str);
102-
$str = str_replace('', '-', $str);
103100
}
104101

105102
return $str;

0 commit comments

Comments
 (0)