Thanks to visit codestin.com Credit goes to github.com
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 58e5def commit 012cc59Copy full SHA for 012cc59
src/Geocoder/Provider/AbstractProvider.php
@@ -89,8 +89,6 @@ protected function getLocalhostDefaults()
89
{
90
return [
91
'locality' => 'localhost',
92
- 'county' => 'localhost',
93
- 'region' => 'localhost',
94
'country' => 'localhost',
95
];
96
}
tests/Geocoder/Tests/Provider/AbstractProviderTest.php
@@ -19,7 +19,7 @@ public function testGetLocalhostDefaults()
19
$provider = new MockProvider($adapter);
20
$result = $provider->getLocalhostDefaults();
21
22
- $this->assertEquals(4, count($result));
+ $this->assertEquals(2, count($result));
23
$this->assertEquals('localhost', $result['locality']);
24
$this->assertEquals('localhost', $result['country']);
25
0 commit comments