We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 724631d commit 89a4d32Copy full SHA for 89a4d32
src/Geocoder/Geocoder.php
@@ -355,7 +355,7 @@ protected function _buildGeocoder() {
355
356
/** @var \Cake\Http\Client $adapterClass */
357
$adapterClass = $this->getConfig('adapter');
358
- $this->adapter = new $adapterClass(new Client(), new ResponseFactory());
+ $this->adapter = new $adapterClass();
359
360
$provider = new GoogleMaps($this->adapter, $this->getConfig('region'), $this->getConfig('apiKey'));
361
$geocoder = new StatefulGeocoder($provider, $this->getConfig('locale') ?: 'en');
0 commit comments