Skip to content

Commit 9a90c8b

Browse files
committed
Document returned object
1 parent d21f895 commit 9a90c8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ at the top of your controllers, as shown in the usage example below.
2121

2222
Once done, you can simple call the `$request->country()` method to
2323
perform geolocation and return the origin country of the active
24-
request based on its IP address.
24+
request based on its IP address. The country is returned as an object
25+
containing many properties, such as the country name and ISO codes.
2526

2627
```php
2728
<?php

0 commit comments

Comments
 (0)