Skip to content

Commit 97c3c5e

Browse files
authored
Removed AbstractProvider::fixEncoding since it had no effect. (#646)
* Removed AbstractProvider::fixEncoding since it had no effect. * Utf8 encode maxmind * Fix geocode on maxmind
1 parent 3eafeb4 commit 97c3c5e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Provider/AbstractProvider.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,4 @@ protected function returnResults(array $data = [])
8383

8484
return new AddressCollection($addresses);
8585
}
86-
87-
/**
88-
* @param array $results
89-
*
90-
* @return array
91-
*/
92-
protected function fixEncoding(array $results)
93-
{
94-
return array_map(function ($value) {
95-
return is_string($value) ? utf8_encode($value) : $value;
96-
}, $results);
97-
}
9886
}

0 commit comments

Comments
 (0)