Skip to content

Commit

Permalink
Reflow some text
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Jan 2, 2024
1 parent e7e3aa6 commit 4cb0d63
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 87 deletions.
3 changes: 1 addition & 2 deletions src/MinFraud/Model/CreditCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ class CreditCard implements \JsonSerializable
public readonly ?bool $isVirtual;

/**
* @var Issuer an object containing
* information about the credit card issuer
* @var Issuer an object containing information about the credit card issuer
*/
public readonly Issuer $issuer;

Expand Down
3 changes: 1 addition & 2 deletions src/MinFraud/Model/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
class Email implements \JsonSerializable
{
/**
* @var EmailDomain an object
* containing information about the email domain
* @var EmailDomain an object containing information about the email domain
*/
public readonly EmailDomain $domain;

Expand Down
6 changes: 3 additions & 3 deletions src/MinFraud/Model/Factors.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
class Factors extends Insights
{
/**
* @var Subscores an object
* containing scores for many of the individual risk factors that are used to
* calculate the overall risk score
* @var Subscores an object containing scores for many of the individual
* risk factors that are used to calculate the overall risk
* score
*/
public readonly Subscores $subscores;

Expand Down
66 changes: 33 additions & 33 deletions src/MinFraud/Model/Insights.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,83 +10,83 @@
class Insights implements \JsonSerializable
{
/**
* @var BillingAddress an object
* containing minFraud data related to the billing address used in the
* transaction
* @var BillingAddress an object containing minFraud data related to the
* billing address used in the transaction
*/
public readonly BillingAddress $billingAddress;

/**
* @var CreditCard an object containing
* minFraud data about the credit card used in the transaction
* @var CreditCard an object containing minFraud data about the credit
* card used in the transaction
*/
public readonly CreditCard $creditCard;

/**
* @var Device this object contains
* information about the device that MaxMind believes is associated with the
* IP address passed in the request
* @var Device this object contains information about the device that
* MaxMind believes is associated with the IP address passed
* in the request
*/
public readonly Device $device;

/**
* @var Disposition an object
* containing the disposition set by custom rules
* @var Disposition an object containing the disposition set by custom
* rules
*/
public readonly Disposition $disposition;

/**
* @var Email this object contains
* information about the email address passed in the request
* @var Email this object contains information about the email address
* passed in the request
*/
public readonly Email $email;

/**
* @var float the approximate US dollar value of the
* funds remaining on your MaxMind account
* @var float the approximate US dollar value of the funds remaining on
* your MaxMind account
*/
public readonly float $fundsRemaining;

/**
* @var string This is a UUID that identifies the minFraud request.
* Please use this ID in bug reports or support requests to MaxMind so that we
* can easily identify a particular request.
* @var string This is a UUID that identifies the minFraud request. Please
* use this ID in bug reports or support requests to MaxMind
* so that we can easily identify a particular request.
*/
public readonly string $id;

/**
* @var IpAddress an object containing
* GeoIP2 and minFraud Insights information about the geolocated IP address
* @var IpAddress an object containing GeoIP2 and minFraud Insights
* information about the geolocated IP address
*/
public readonly IpAddress $ipAddress;

/**
* @var int the approximate number of queries
* remaining for this service before your account runs out of funds
* @var int the approximate number of queries remaining for this service
* before your account runs out of funds
*/
public readonly int $queriesRemaining;

/**
* @var float This property contains the risk score, from 0.01
* to 99. A higher score indicates a higher risk of fraud. For example, a
* score of 20 indicates a 20% chance that a transaction is fraudulent. We
* never return a risk score of 0, since all transactions have the possibility
* of being fraudulent. Likewise we never return a risk score of 100.
* @var float This property contains the risk score, from 0.01 to 99. A
* higher score indicates a higher risk of fraud. For example, a
* score of 20 indicates a 20% chance that a transaction is
* fraudulent. We never return a risk score of 0, since all
* transactions have the possibility of being fraudulent.
* Likewise we never return a risk score of 100.
*/
public readonly float $riskScore;

/**
* @var ShippingAddress an object
* containing minFraud data related to the shipping address used in the
* transaction
* @var ShippingAddress an object containing minFraud data related to the
* shipping address used in the transaction
*/
public readonly ShippingAddress $shippingAddress;

/**
* @var array This array contains
* \MaxMind\MinFraud\Model\Warning objects detailing issues with the request
* that was sent, such as invalid or unknown inputs. It is highly recommended
* that you check this array for issues when integrating the web service.
* @var array This array contains \MaxMind\MinFraud\Model\Warning objects
* detailing issues with the request that was sent, such as
* invalid or unknown inputs. It is highly recommended that
* you check this array for issues when integrating the web
* service.
*/
public readonly array $warnings;

Expand Down
56 changes: 29 additions & 27 deletions src/MinFraud/Model/IpAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,36 +24,35 @@ class IpAddress implements \JsonSerializable
public readonly \GeoIp2\Record\City $city;

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

/**
* @var Country Country data for the requested IP address.
* This object represents the country where MaxMind believes the end
* @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;

/**
* @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.
* @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;

/**
* @var GeoIp2Location location data for the requested IP
* address
* @var GeoIp2Location location data for the requested IP address
*/
public readonly \MaxMind\MinFraud\Model\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.
* @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;

Expand All @@ -63,35 +62,38 @@ class IpAddress implements \JsonSerializable
public readonly \GeoIp2\Record\Postal $postal;

/**
* @var RepresentedCountry Represented country data for
* the requested IP address. The represented country is used for things
* like military bases. It is only present when the represented country
* differs from the country.
* @var RepresentedCountry Represented country data for the requested IP
* address. The represented country is used for
* things like military bases. It is only present
* when the represented country differs from the
* country.
*/
public readonly \GeoIp2\Record\RepresentedCountry $representedCountry;

/**
* @var float|null This field contains the risk associated with the IP
* address. The value ranges from 0.01 to 99. A higher score indicates a
* higher risk.
* address. The value ranges from 0.01 to 99. A higher
* score indicates a higher risk.
*/
public readonly ?float $risk;

/**
* @var array<IpRiskReason> This array contains
* \MaxMind\MinFraud\Model\IpRiskReason objects identifying the reasons why
* the IP address received the associated risk. This will be an empty array if
* there are no reasons.
* \MaxMind\MinFraud\Model\IpRiskReason objects
* identifying the reasons why the IP address
* received the associated risk. This will be an
* empty array if there are no reasons.
*/
public readonly array $riskReasons;

/**
* @var array An array of \GeoIp2\Record\Subdivision objects representing
* the country subdivisions for the requested IP address. The number and
* type of subdivisions varies by country, but a subdivision is typically
* a state, province, county, etc. Subdivisions are ordered from most
* general (largest) to most specific (smallest). If the response did not
* contain any subdivisions, this method returns an empty array.
* the country subdivisions for the requested IP address. The
* number and type of subdivisions varies by country, but a
* subdivision is typically a state, province, county, etc.
* Subdivisions are ordered from most general (largest) to most
* specific (smallest). If the response did not contain any
* subdivisions, this method returns an empty array.
*/
public readonly array $subdivisions;

Expand Down
40 changes: 20 additions & 20 deletions src/MinFraud/Model/Score.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,50 +10,50 @@
class Score implements \JsonSerializable
{
/**
* @var Disposition an object
* containing the disposition set by custom rules
* @var Disposition an object containing the disposition set by custom
* rules
*/
public readonly Disposition $disposition;

/**
* @var float the approximate US dollar value of the
* funds remaining on your MaxMind account
* @var float the approximate US dollar value of the funds remaining on
* your MaxMind account
*/
public readonly float $fundsRemaining;

/**
* @var string This is a UUID that identifies the minFraud request.
* Please use this ID in bug reports or support requests to MaxMind so that we
* can easily identify a particular request.
* @var string This is a UUID that identifies the minFraud request. Please
* use this ID in bug reports or support requests to MaxMind
* so that we can easily identify a particular request.
*/
public readonly string $id;

/**
* @var ScoreIpAddress an object
* containing the IP risk for the transaction
* @var ScoreIpAddress an object containing the IP risk for the transaction
*/
public readonly ScoreIpAddress $ipAddress;

/**
* @var int the approximate number of queries
* remaining for this service before your account runs out of funds
* @var int the approximate number of queries remaining for this service
* before your account runs out of funds
*/
public readonly int $queriesRemaining;

/**
* @var float This property contains the risk score, from 0.01
* to 99. A higher score indicates a higher risk of fraud. For example, a
* score of 20 indicates a 20% chance that a transaction is fraudulent. We
* never return a risk score of 0, since all transactions have the possibility
* of being fraudulent. Likewise we never return a risk score of 100.
* @var float This property contains the risk score, from 0.01 to 99. A
* higher score indicates a higher risk of fraud. For example,
* a score of 20 indicates a 20% chance that a transaction is
* fraudulent. We never return a risk score of 0, since all
* transactions have the possibility of being fraudulent.
* Likewise we never return a risk score of 100.
*/
public readonly float $riskScore;

/**
* @var array This array contains
* \MaxMind\MinFraud\Model\Warning objects detailing issues with the request
* that was sent, such as invalid or unknown inputs. It is highly recommended
* that you check this array for issues when integrating the web service.
* @var array This array contains \MaxMind\MinFraud\Model\Warning objects
* detailing issues with the request that was sent, such as
* invalid or unknown inputs. It is highly recommended that you
* check this array for issues when integrating the web service.
*/
public readonly array $warnings;

Expand Down

0 comments on commit 4cb0d63

Please sign in to comment.