Skip to content

Commit 0c89d09

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 aee4bd4 commit 0c89d09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/PickPointTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ public function testGetNodeStreetName(): void
6666
$provider = new PickPoint($this->getHttpClient($_SERVER['PICKPOINT_API_KEY']), $_SERVER['PICKPOINT_API_KEY']);
6767
$results = $provider->reverseQuery(ReverseQuery::fromCoordinates(48.86, 2.35));
6868

69-
$this->assertInstanceOf('Geocoder\Model\AddressCollection', $results);
69+
$this->assertInstanceOf(\Geocoder\Model\AddressCollection::class, $results);
7070
$this->assertCount(1, $results);
7171

7272
/** @var Location $result */
7373
$result = $results->first();
74-
$this->assertInstanceOf('\Geocoder\Model\Address', $result);
74+
$this->assertInstanceOf(\Geocoder\Model\Address::class, $result);
7575
$this->assertEquals('Rue Quincampoix', $result->getStreetName());
7676
}
7777
}

0 commit comments

Comments
 (0)