Skip to content

Commit cbf9915

Browse files
authored
Update MapQuest.php (#884)
Apply fixes from StyleCI
1 parent 93d8ccf commit cbf9915

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

MapQuest.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,29 +39,46 @@ final class MapQuest extends AbstractHttpProvider implements Provider
3939
const DATA_KEY_ADDRESS = 'address';
4040

4141
const KEY_API_KEY = 'key';
42+
4243
const KEY_LOCATION = 'location';
44+
4345
const KEY_OUT_FORMAT = 'outFormat';
46+
4447
const KEY_MAX_RESULTS = 'maxResults';
48+
4549
const KEY_THUMB_MAPS = 'thumbMaps';
50+
4651
const KEY_INTL_MODE = 'intlMode';
52+
4753
const KEY_BOUNDING_BOX = 'boundingBox';
54+
4855
const KEY_LAT = 'lat';
56+
4957
const KEY_LNG = 'lng';
58+
5059
const MODE_5BOX = '5BOX';
60+
5161
const OPEN_BASE_URL = 'https://open.mapquestapi.com/geocoding/v1/';
62+
5263
const LICENSED_BASE_URL = 'https://www.mapquestapi.com/geocoding/v1/';
64+
5365
const GEOCODE_ENDPOINT = 'address';
66+
5467
const DEFAULT_GEOCODE_PARAMS = [
5568
self::KEY_LOCATION => '',
5669
self::KEY_OUT_FORMAT => 'json',
5770
self::KEY_API_KEY => '',
5871
];
72+
5973
const DEFAULT_GEOCODE_OPTIONS = [
6074
self::KEY_MAX_RESULTS => 3,
6175
self::KEY_THUMB_MAPS => false,
6276
];
77+
6378
const REVERSE_ENDPOINT = 'reverse';
79+
6480
const ADMIN_LEVEL_STATE = 1;
81+
6582
const ADMIN_LEVEL_COUNTY = 2;
6683

6784
/**

0 commit comments

Comments
 (0)