PSR-2 fixes.
Convert Python map and str functions to PHP array_map and strval, respectively. Update docblock to reflect that geocode is expected to be an array.