File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tests/Geocoder/Tests/Provider Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public function geocode($address)
59
59
{
60
60
// This API doesn't handle IPs
61
61
if (filter_var ($ address , FILTER_VALIDATE_IP )) {
62
- throw new UnsupportedOperation ('The Yandex does not support IP addresses. ' );
62
+ throw new UnsupportedOperation ('The Yandex provider does not support IP addresses, only street addresses. ' );
63
63
}
64
64
65
65
$ query = sprintf (self ::GEOCODE_ENDPOINT_URL , urlencode ($ address ));
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function testGetName()
18
18
19
19
/**
20
20
* @expectedException \Geocoder\Exception\UnsupportedOperation
21
- * @expectedExceptionMessage The Yandex does not support IP addresses.
21
+ * @expectedExceptionMessage The Yandex provider does not support IP addresses, only street addresses.
22
22
*/
23
23
public function testGeocodeWithLocalhostIPv4 ()
24
24
{
@@ -28,7 +28,7 @@ public function testGeocodeWithLocalhostIPv4()
28
28
29
29
/**
30
30
* @expectedException \Geocoder\Exception\UnsupportedOperation
31
- * @expectedExceptionMessage The Yandex does not support IP addresses.
31
+ * @expectedExceptionMessage The Yandex provider does not support IP addresses, only street addresses.
32
32
*/
33
33
public function testGeocodeWithLocalhostIPv6 ()
34
34
{
You can’t perform that action at this time.
0 commit comments