Skip to content

Commit 6e00f14

Browse files
oschwaldclaude
andcommitted
Fix typos and incorrect method call in README
- Remove duplicate "the" in php-curl installation instructions - Fix anonymousIp() to anonymousPlus() in Anonymous Plus example - Fix "unique identified" to "uniquely identified" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 763859f commit 6e00f14

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ enabled.
5757
If you will be making web service requests, you must have the PHP
5858
[cURL extension](https://php.net/manual/en/book.curl.php)
5959
installed to use this archive. For Debian based distributions, this can
60-
typically be found in the the `php-curl` package. For other operating
60+
typically be found in the `php-curl` package. For other operating
6161
systems, please consult the relevant documentation. After installing the
6262
extension you may need to restart your web server.
6363

@@ -173,7 +173,7 @@ use GeoIp2\Database\Reader;
173173
// lookups.
174174
$anonymousDbReader = new Reader('/usr/local/share/GeoIP/GeoIP-Anonymous-Plus.mmdb');
175175

176-
$record = $anonymousDbReader->anonymousIp('203.0.113.0');
176+
$record = $anonymousDbReader->anonymousPlus('203.0.113.0');
177177

178178
print($record->anonymizerConfidence . "\n"); // 30
179179
print($record->networkLastSeen . "\n"); // '2025-04-14'
@@ -408,7 +408,7 @@ attribute in the `GeoIp2\Record\Traits` record.
408408
[GeoNames](https://www.geonames.org/) offers web services and downloadable
409409
databases with data on geographical features around the world, including
410410
populated places. They offer both free and paid premium data. Each
411-
feature is unique identified by a `geonameId`, which is an integer.
411+
feature is uniquely identified by a `geonameId`, which is an integer.
412412

413413
Many of the records returned by the GeoIP2 web services and databases
414414
include a `geonameId` property. This is the ID of a geographical feature

0 commit comments

Comments
 (0)