Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run new php-cs-fixer against code #161

Merged
merged 1 commit into from
Jan 22, 2024
Merged
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
18 changes: 9 additions & 9 deletions src/MinFraud/Model/IpAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,45 +21,45 @@ class IpAddress implements \JsonSerializable
/**
* @var City city data for the requested IP address
*/
public readonly \GeoIp2\Record\City $city;
public readonly City $city;

/**
* @var Continent continent data for the requested IP address
*/
public readonly \GeoIp2\Record\Continent $continent;
public readonly Continent $continent;

/**
* @var Country Country data for the requested IP address. This object
* represents the country where MaxMind believes the end
* user is located.
*/
public readonly \GeoIp2\Record\Country $country;
public readonly Country $country;

/**
* @var Country Registered country data for the requested IP address.
* This record represents the country where the ISP has
* registered a given IP block and may differ from the
* user's country.
*/
public readonly \GeoIp2\Record\Country $registeredCountry;
public readonly Country $registeredCountry;

/**
* @var GeoIp2Location location data for the requested IP address
*/
public readonly \MaxMind\MinFraud\Model\GeoIp2Location $location;
public readonly GeoIp2Location $location;

/**
* @var Subdivision An object representing the most specific subdivision
* returned. If the response did not contain any
* subdivisions, this method returns an empty
* \GeoIp2\Record\Subdivision object.
*/
public readonly \GeoIp2\Record\Subdivision $mostSpecificSubdivision;
public readonly Subdivision $mostSpecificSubdivision;

/**
* @var Postal postal data for the requested IP address
*/
public readonly \GeoIp2\Record\Postal $postal;
public readonly Postal $postal;

/**
* @var RepresentedCountry Represented country data for the requested IP
Expand All @@ -68,7 +68,7 @@ class IpAddress implements \JsonSerializable
* when the represented country differs from the
* country.
*/
public readonly \GeoIp2\Record\RepresentedCountry $representedCountry;
public readonly RepresentedCountry $representedCountry;

/**
* @var float|null This field contains the risk associated with the IP
Expand Down Expand Up @@ -101,7 +101,7 @@ class IpAddress implements \JsonSerializable
* @var Traits data for the traits of the requested IP
* address
*/
public readonly \GeoIp2\Record\Traits $traits;
public readonly Traits $traits;

public function __construct(?array $response, array $locales = ['en'])
{
Expand Down