Skip to content

Commit 00c8b4d

Browse files
committed
style(mapbox): order imports and annotate MapboxAddress in tests
1 parent 86873e8 commit 00c8b4d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/Provider/Mapbox/Tests/MapboxAddressTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class MapboxAddressTest extends TestCase
2020
{
2121
public function testMatchCode(): void
2222
{
23+
/** @var MapboxAddress $address */
2324
$address = (new AddressBuilder('mapbox'))->build(MapboxAddress::class);
2425

2526
$this->assertNull($address->getMatchCode());
@@ -33,6 +34,7 @@ public function testMatchCode(): void
3334

3435
public function testMatchConfidence(): void
3536
{
37+
/** @var MapboxAddress $address */
3638
$address = (new AddressBuilder('mapbox'))->build(MapboxAddress::class);
3739

3840
$this->assertNull($address->getMatchConfidence());
@@ -45,6 +47,7 @@ public function testMatchConfidence(): void
4547

4648
public function testAccuracy(): void
4749
{
50+
/** @var MapboxAddress $address */
4851
$address = (new AddressBuilder('mapbox'))->build(MapboxAddress::class);
4952

5053
$this->assertNull($address->getAccuracy());

src/Provider/Mapbox/Tests/MapboxTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
namespace Geocoder\Provider\Mapbox\Tests;
1414

15-
use Geocoder\IntegrationTest\BaseTestCase;
1615
use Geocoder\Exception\InvalidServerResponse;
16+
use Geocoder\IntegrationTest\BaseTestCase;
1717
use Geocoder\Model\AddressCollection;
1818
use Geocoder\Model\Bounds;
1919
use Geocoder\Provider\Mapbox\Mapbox;

0 commit comments

Comments
 (0)