Skip to content

Commit

Permalink
Merge pull request #150 from maxmind/greg/fix-example
Browse files Browse the repository at this point in the history
Fix property name in example
  • Loading branch information
faktas2 authored Jun 29, 2023
2 parents 94856fb + bf17961 commit 906ef64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ and [Report Transaction](https://dev.maxmind.com/minfraud/report-transaction/) A

### minFraud API ###

To use the MinFraud API, create a new `\MaxMind\MinFraud` object. The constructor
To use the minFraud API, create a new `\MaxMind\MinFraud` object. The constructor
takes your MaxMind account ID, license key, and an optional options array as
arguments. This object is immutable. You then build up the request using the
`->with*` methods as shown below. Each method call returns a new object. The
Expand Down Expand Up @@ -226,7 +226,7 @@ $request = $mf->withDevice([
# To get the minFraud Factors response model, use ->factors():
$factorsResponse = $request->factors();

print($factorsResponse->subscores->email . "\n");
print($factorsResponse->subscores->emailAddress . "\n");

# To get the minFraud Insights response model, use ->insights():
$insightsResponse = $request->insights();
Expand Down

0 comments on commit 906ef64

Please sign in to comment.