@@ 192-196 (lines=5) @@ | ||
189 | ); |
|
190 | } |
|
191 | ||
192 | if (null !== $locationType = $query->getData('location_type')) { |
|
193 | $urlParameters['types'] = is_array($locationType) ? implode(',', $locationType) : $locationType; |
|
194 | } else { |
|
195 | $urlParameters['types'] = self::DEFAULT_TYPE; |
|
196 | } |
|
197 | ||
198 | if ($urlParameters) { |
|
199 | $url .= '?'.http_build_query($urlParameters); |
|
@@ 215-219 (lines=5) @@ | ||
212 | $coordinate->getLatitude() |
|
213 | ); |
|
214 | ||
215 | if (null !== $locationType = $query->getData('location_type')) { |
|
216 | $urlParameters['types'] = is_array($locationType) ? implode(',', $locationType) : $locationType; |
|
217 | } else { |
|
218 | $urlParameters['types'] = self::DEFAULT_TYPE; |
|
219 | } |
|
220 | ||
221 | if ($urlParameters) { |
|
222 | $url .= '?'.http_build_query($urlParameters); |