Skip to content

Commit b76c914

Browse files
authored
Merge pull request #216 from maxmind/greg/ws-connection-type
Update docs and test for connection_type in web service
2 parents 6253fd8 + 66cdedf commit b76c914

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Record/Traits.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
* @property-read string|null $connectionType The connection type may take the
2525
* following values: "Dialup", "Cable/DSL", "Corporate", "Cellular", and
2626
* "Satellite". Additional values may be added in the future. This attribute is
27-
* only available in the GeoIP2 Enterprise database.
27+
* only available from the City Plus and Insights web services and the GeoIP2
28+
* Enterprise database.
2829
* @property-read string|null $domain The second level domain associated with the
2930
* IP address. This will be something like "example.com" or "example.co.uk",
3031
* not "foo.example.com". This attribute is only available from the

tests/GeoIp2/Test/Model/InsightsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ public function testFull(): void
6868
'traits' => [
6969
'autonomous_system_number' => 1234,
7070
'autonomous_system_organization' => 'AS Organization',
71+
'connection_type' => 'Cable/DSL',
7172
'domain' => 'example.com',
7273
'ip_address' => '1.2.3.4',
7374
'is_anonymous' => true,

0 commit comments

Comments
 (0)