@@ -63,12 +63,12 @@ public function testGeocodeWithLocalhostIPv4(): void
63
63
{
64
64
$ results = $ this ->provider ->geocodeQuery (GeocodeQuery::create ('127.0.0.1 ' ));
65
65
66
- $ this ->assertInstanceOf (' Geocoder\Model\AddressCollection ' , $ results );
66
+ $ this ->assertInstanceOf (\ Geocoder \Model \AddressCollection::class , $ results );
67
67
$ this ->assertCount (1 , $ results );
68
68
69
69
/** @var Location $result */
70
70
$ result = $ results ->first ();
71
- $ this ->assertInstanceOf (' \Geocoder\Model\Address ' , $ result );
71
+ $ this ->assertInstanceOf (\Geocoder \Model \Address::class , $ result );
72
72
$ this ->assertEquals ('localhost ' , $ result ->getLocality ());
73
73
$ this ->assertEquals ('localhost ' , $ result ->getCountry ()->getName ());
74
74
}
@@ -172,12 +172,12 @@ public function testRetrievingGeodata(string $address, string $adapterResponse,
172
172
173
173
$ results = $ provider ->geocodeQuery (GeocodeQuery::create ($ address ));
174
174
175
- $ this ->assertInstanceOf (' Geocoder\Model\AddressCollection ' , $ results );
175
+ $ this ->assertInstanceOf (\ Geocoder \Model \AddressCollection::class , $ results );
176
176
$ this ->assertCount (1 , $ results );
177
177
178
178
/** @var Location $result */
179
179
$ result = $ results ->first ();
180
- $ this ->assertInstanceOf (' \Geocoder\Model\Address ' , $ result );
180
+ $ this ->assertInstanceOf (\Geocoder \Model \Address::class , $ result );
181
181
if (isset ($ expectedGeodata ['latitude ' ])) {
182
182
$ this ->assertEquals ($ expectedGeodata ['latitude ' ], $ result ->getCoordinates ()->getLatitude ());
183
183
$ this ->assertEquals ($ expectedGeodata ['longitude ' ], $ result ->getCoordinates ()->getLongitude ());
0 commit comments