Skip to content

Commit 89a4d32

Browse files
committed
Fix up PHPStan
1 parent 724631d commit 89a4d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Geocoder/Geocoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ protected function _buildGeocoder() {
355355

356356
/** @var \Cake\Http\Client $adapterClass */
357357
$adapterClass = $this->getConfig('adapter');
358-
$this->adapter = new $adapterClass(new Client(), new ResponseFactory());
358+
$this->adapter = new $adapterClass();
359359

360360
$provider = new GoogleMaps($this->adapter, $this->getConfig('region'), $this->getConfig('apiKey'));
361361
$geocoder = new StatefulGeocoder($provider, $this->getConfig('locale') ?: 'en');

0 commit comments

Comments
 (0)