Skip to content

Commit 55857df

Browse files
fbuchlakjbelien
andauthored
style: convert string class names to constants (#1252)
* style: convert string class names to constants * style: fix php-cs-fixer --------- Co-authored-by: Jonathan Beliën <[email protected]>
1 parent 80fe730 commit 55857df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/LocationIQTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ public function testGetNodeStreetName(): void
7979
$provider = new LocationIQ($this->getHttpClient($_SERVER['LOCATIONIQ_API_KEY']), $_SERVER['LOCATIONIQ_API_KEY']);
8080
$results = $provider->reverseQuery(ReverseQuery::fromCoordinates(48.86, 2.35));
8181

82-
$this->assertInstanceOf('Geocoder\Model\AddressCollection', $results);
82+
$this->assertInstanceOf(\Geocoder\Model\AddressCollection::class, $results);
8383
$this->assertCount(1, $results);
8484

8585
/** @var Location $result */
8686
$result = $results->first();
87-
$this->assertInstanceOf('\Geocoder\Model\Address', $result);
87+
$this->assertInstanceOf(\Geocoder\Model\Address::class, $result);
8888
$this->assertEquals('Rue Quincampoix', $result->getStreetName());
8989
}
9090
}

0 commit comments

Comments
 (0)