Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dev-bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ else
fi

if [ ! -d .geoip2 ]; then
echo "Cloning GeoIP2 for docs"
echo "Cloning GeoIP for docs"
git clone git@github.com:maxmind/GeoIP2-php.git .geoip2
else
echo "Updating GeoIP2 for docs"
echo "Updating GeoIP for docs"
pushd .geoip2
git pull
popd
Expand Down
2 changes: 1 addition & 1 deletion src/MinFraud/Model/GeoIp2Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use GeoIp2\Record\Location;

/**
* Model of the GeoIP2 Location information, including the local time.
* Model of the GeoIP Location information, including the local time.
*/
class GeoIp2Location extends Location
{
Expand Down
2 changes: 1 addition & 1 deletion src/MinFraud/Model/Insights.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Insights implements \JsonSerializable
public readonly string $id;

/**
* @var IpAddress an object containing GeoIP2 and minFraud Insights
* @var IpAddress an object containing GeoIP and minFraud Insights
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From Claude, looks right:

  - Missed prose docblock — src/MinFraud/Model/GeoIp2Location.php:10: still says "Model of the GeoIP2 Location information…". Analogous to docblocks updated in sibling files in
  this same PR.

* information about the geolocated IP address
*/
public readonly IpAddress $ipAddress;
Expand Down
2 changes: 1 addition & 1 deletion src/MinFraud/Model/IpAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
use GeoIp2\Record\Traits;

/**
* Model containing GeoIP2 data and the risk for the IP address.
* Model containing GeoIP data and the risk for the IP address.
*/
class IpAddress implements \JsonSerializable
{
Expand Down
2 changes: 1 addition & 1 deletion tests/MaxMind/Test/MinFraudTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public function testLocalesOption(): void
$this->assertSame(
'Royaume-Uni',
$insights->ipAddress->country->name,
'locales setting made it to the GeoIP2 models'
'locales setting made it to the GeoIP models'
);
}

Expand Down
Loading