Skip to content

Commit

Permalink
Update docs and test for connection_type in web service
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Oct 18, 2023
1 parent 6253fd8 commit 66cdedf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Record/Traits.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
* @property-read string|null $connectionType The connection type may take the
* following values: "Dialup", "Cable/DSL", "Corporate", "Cellular", and
* "Satellite". Additional values may be added in the future. This attribute is
* only available in the GeoIP2 Enterprise database.
* only available from the City Plus and Insights web services and the GeoIP2
* Enterprise database.
* @property-read string|null $domain The second level domain associated with the
* IP address. This will be something like "example.com" or "example.co.uk",
* not "foo.example.com". This attribute is only available from the
Expand Down
1 change: 1 addition & 0 deletions tests/GeoIp2/Test/Model/InsightsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public function testFull(): void
'traits' => [
'autonomous_system_number' => 1234,
'autonomous_system_organization' => 'AS Organization',
'connection_type' => 'Cable/DSL',
'domain' => 'example.com',
'ip_address' => '1.2.3.4',
'is_anonymous' => true,
Expand Down

0 comments on commit 66cdedf

Please sign in to comment.