Skip to content

Commit 65792e1

Browse files
committed
revert deprecation update as per comments on geocoder-php/Geocoder PR 1217
1 parent 654e967 commit 65792e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Provider/GeoIP2/Tests/GeoIP2AdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function testReaderResponseIsJsonEncoded(): void
118118
$this->assertJson($result);
119119

120120
$decodedResult = json_decode($result);
121-
$this->assertObjectHasProperty('city', $decodedResult);
121+
$this->assertObjectHasAttribute('city', $decodedResult);
122122
}
123123

124124
/**

0 commit comments

Comments
 (0)